From e290de07a927f3dc92f003cd64c117ffa3d7f93f Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 15 Aug 2018 09:09:44 +0200 Subject: [PATCH] BOPAlgo supports progress indicator since version 6.9.0 --- src/Mod/Part/Gui/TaskCheckGeometry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.cpp b/src/Mod/Part/Gui/TaskCheckGeometry.cpp index 43ab47d495..fcd314b263 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.cpp +++ b/src/Mod/Part/Gui/TaskCheckGeometry.cpp @@ -611,7 +611,9 @@ int TaskCheckGeometryResults::goBOPSingleCheck(const TopoDS_Shape& shapeIn, Resu //this is left for another time. TopoDS_Shape BOPCopy = BRepBuilderAPI_Copy(shapeIn).Shape(); BOPAlgo_ArgumentAnalyzer BOPCheck; +#if OCC_VERSION_HEX >= 0x060900 BOPCheck.SetProgressIndicator(theProgress); +#endif // BOPCheck.StopOnFirstFaulty() = true; //this doesn't run any faster but gives us less results. BOPCheck.SetShape1(BOPCopy); //all settings are false by default. so only turn on what we want.