From 8d932819dd9fd56973cbc9a1f926d2e814cfdbb3 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Wed, 25 Mar 2009 08:51:23 +0000 Subject: [PATCH] set STL geomtype --- libsrc/stlgeom/stlgeommesh.cpp | 2 ++ 1 file changed, 2 insertions(+) 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),