Skip to content
Snippets Groups Projects
Commit e7028b32 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix for #1263: just skip elements that are not supported by the UNV format,...

fix for #1263: just skip elements that are not supported by the UNV format, without warning; this is what we do for other mesh file formats anyway
parent 05fd555a
Branches
Tags
No related merge requests found
......@@ -1698,12 +1698,7 @@ void MElement::writeMATLAB(FILE *fp, int filetype, int elementary, int physical,
void MElement::writeUNV(FILE *fp, int num, int elementary, int physical)
{
int type = getTypeForUNV();
if(!type) {
Msg::Warning("Unknown element type for UNV export (MSH type %d) - "
"output file might be invalid",
getTypeForMSH());
return;
}
if(!type) return;
int n = getNumVertices();
int physical_property = elementary;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment