Part: re-add dropped parameter (93525ff7eb)
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user