+ Replace OCC_HEX_VERSION with OCC_VERSION_HEX

This commit is contained in:
wmayer
2014-07-18 14:51:54 +02:00
parent c4bd838c55
commit 80cc2e4710
5 changed files with 9 additions and 15 deletions

View File

@@ -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);