From 4ec9c381d4b24ccbd38ba8784768707379736df6 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 25 Jun 2022 16:14:14 +0200 Subject: [PATCH] Part: re-add dropped parameter (93525ff7eb2) --- src/Mod/Part/App/TopoShapeShellPyImp.cpp | 2 +- src/Mod/Part/Gui/TaskCheckGeometry.cpp | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Mod/Part/App/TopoShapeShellPyImp.cpp b/src/Mod/Part/App/TopoShapeShellPyImp.cpp index a5182b33f8..c5f8306472 100644 --- a/src/Mod/Part/App/TopoShapeShellPyImp.cpp +++ b/src/Mod/Part/App/TopoShapeShellPyImp.cpp @@ -179,7 +179,7 @@ PyObject* TopoShapeShellPy::getBadEdges(PyObject *args) return nullptr; ShapeAnalysis_Shell as; as.LoadShells(getTopoShapePtr()->getShape()); - as.CheckOrientedShells(getTopoShapePtr()->getShape(), Standard_True); + as.CheckOrientedShells(getTopoShapePtr()->getShape(), Standard_True, Standard_True); TopoDS_Compound comp = as.BadEdges(); return new TopoShapeCompoundPy(new TopoShape(comp)); diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.cpp b/src/Mod/Part/Gui/TaskCheckGeometry.cpp index 9b0452c0ed..88ca697467 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.cpp +++ b/src/Mod/Part/Gui/TaskCheckGeometry.cpp @@ -655,13 +655,13 @@ int TaskCheckGeometryResults::goBOPSingleCheck(const TopoDS_Shape& shapeIn, Resu TopoDS_Shape BOPCopy = BRepBuilderAPI_Copy(shapeIn).Shape(); BOPAlgo_ArgumentAnalyzer BOPCheck; - #if OCC_VERSION_HEX < 0x070500 - BOPCheck.SetProgressIndicator(theProgress); - #elif OCC_VERSION_HEX < 0x070600 - BOPCheck.SetProgressIndicator(theScope); - #else - Q_UNUSED(theScope) - #endif // 0x070500 +#if OCC_VERSION_HEX < 0x070500 + BOPCheck.SetProgressIndicator(theProgress); +#elif OCC_VERSION_HEX < 0x070600 + BOPCheck.SetProgressIndicator(theScope); +#else + Q_UNUSED(theScope) +#endif // 0x070500 BOPCheck.SetShape1(BOPCopy);