+ Replace OCC_HEX_VERSION with OCC_VERSION_HEX
This commit is contained in:
@@ -155,7 +155,7 @@ PyObject* TopoShapeShellPy::getFreeEdges(PyObject *args)
|
||||
return NULL;
|
||||
ShapeAnalysis_Shell as;
|
||||
as.LoadShells(getTopoShapePtr()->_Shape);
|
||||
#if OCC_HEX_VERSION < 0x060500
|
||||
#if OCC_VERSION_HEX < 0x060500
|
||||
as.CheckOrientedShells(getTopoShapePtr()->_Shape, Standard_True);
|
||||
#else
|
||||
as.CheckOrientedShells(getTopoShapePtr()->_Shape, Standard_True, Standard_True);
|
||||
@@ -170,7 +170,7 @@ PyObject* TopoShapeShellPy::getBadEdges(PyObject *args)
|
||||
return NULL;
|
||||
ShapeAnalysis_Shell as;
|
||||
as.LoadShells(getTopoShapePtr()->_Shape);
|
||||
#if OCC_HEX_VERSION < 0x060500
|
||||
#if OCC_VERSION_HEX < 0x060500
|
||||
as.CheckOrientedShells(getTopoShapePtr()->_Shape, Standard_True);
|
||||
#else
|
||||
as.CheckOrientedShells(getTopoShapePtr()->_Shape, Standard_True, Standard_True);
|
||||
|
||||
Reference in New Issue
Block a user