diff --git a/libsrc/stlgeom/stlgeommesh.cpp b/libsrc/stlgeom/stlgeommesh.cpp index 641884d7..cda9b176 100644 --- a/libsrc/stlgeom/stlgeommesh.cpp +++ b/libsrc/stlgeom/stlgeommesh.cpp @@ -1343,6 +1343,8 @@ int STLMeshingDummy (STLGeometry* stlgeometry, Mesh*& mesh, { mesh = new Mesh(); + mesh->geomtype = Mesh::GEOM_STL; + mesh -> SetGlobalH (mparam.maxh); mesh -> SetLocalH (stlgeometry->GetBoundingBox().PMin() - Vec3d(10, 10, 10), stlgeometry->GetBoundingBox().PMax() + Vec3d(10, 10, 10),