Skip to content

Commit

Permalink
+ do meshing of shapes in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Apr 1, 2014
1 parent a0c8dc7 commit 37cc136
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Mod/Part/Gui/ViewProviderExt.cpp
Expand Up @@ -47,6 +47,7 @@
# include <Handle_Poly_Triangulation.hxx>
# include <Poly_Array1OfTriangle.hxx>
# include <Poly_Triangulation.hxx>
# include <Standard_Version.hxx>
# include <TColgp_Array1OfPnt.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Edge.hxx>
Expand Down Expand Up @@ -653,7 +654,11 @@ void ViewProviderPartExt::updateVisual(const TopoDS_Shape& inputShape)
Deviation.getValue();

// create or use the mesh on the data structure
#if OCC_VERSION_HEX >= 0x060600
BRepMesh_IncrementalMesh myMesh(cShape,deflection,Standard_False,0.5,Standard_True);
#else
BRepMesh_IncrementalMesh myMesh(cShape,deflection);
#endif
// We must reset the location here because the transformation data
// are set in the placement property
TopLoc_Location aLoc;
Expand Down

0 comments on commit 37cc136

Please sign in to comment.