set STL geomtype

This commit is contained in:
Joachim Schoeberl 2009-03-25 08:51:23 +00:00
parent 977e39e1c0
commit 8d932819dd

View File

@ -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),