diff --git a/libsrc/meshing/basegeom.cpp b/libsrc/meshing/basegeom.cpp index 6a9a8721..367d4ec8 100644 --- a/libsrc/meshing/basegeom.cpp +++ b/libsrc/meshing/basegeom.cpp @@ -1153,6 +1153,8 @@ namespace netgen for (int i = 0; i < mesh.GetNDomains(); i++) if (auto name = solids[i]->properties.name) mesh.SetMaterial (i+1, *name); + + mesh.OrderElements(); } shared_ptr GeometryRegisterArray :: LoadFromMeshFile (istream & ist) const