From 37cc1363105ba4b63c20ad93354d4ff4845a034e Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 1 Apr 2014 16:38:44 +0200 Subject: [PATCH] + do meshing of shapes in parallel --- src/Mod/Part/Gui/ViewProviderExt.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Mod/Part/Gui/ViewProviderExt.cpp b/src/Mod/Part/Gui/ViewProviderExt.cpp index 2d8fff9d9..8c0056923 100644 --- a/src/Mod/Part/Gui/ViewProviderExt.cpp +++ b/src/Mod/Part/Gui/ViewProviderExt.cpp @@ -47,6 +47,7 @@ # include # include # include +# include # include # include # include @@ -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;