Fixed a crash when accessing the wrappedValue of a simple type in a SELECT

This commit is contained in:
Thomas Krijnen
2011-08-16 18:26:02 +00:00
parent c99633eb90
commit 086d314a0c
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ bool IfcGeom::convert(const Ifc2x3::IfcPolygonalBoundedHalfSpace::ptr& l, TopoDS
convert(l->Position(),trsf);
TopoDS_Shape extrusion = BRepPrimAPI_MakePrism(BRepBuilderAPI_MakeFace(wire),gp_Vec(0,0,20000.0));
gp_Trsf down; down.SetTranslation(gp_Vec(0,0,-10000.0));
extrusion.Move(trsf*down);
extrusion.Move(down*trsf);
shape = BRepAlgoAPI_Cut(extrusion,halfspace);
return true;
}