Fix compile error with OCC 6.5.x

This commit is contained in:
wmayer 2013-02-19 17:38:43 +01:00
parent def8cb81c0
commit 288f2f6476

View File

@ -209,7 +209,7 @@ int TopoShapeFacePy::PyInit(PyObject* args, PyObject* /*kwd*/)
case BRepBuilderAPI_ParametersOutOfRange: case BRepBuilderAPI_ParametersOutOfRange:
Standard_Failure::Raise("Parameters out of range"); Standard_Failure::Raise("Parameters out of range");
break; break;
#if OCC_VERSION_HEX >= 0x060502 #if OCC_HEX_VERSION < 0x060500
case BRepBuilderAPI_SurfaceNotC2: case BRepBuilderAPI_SurfaceNotC2:
Standard_Failure::Raise("Surface not C2"); Standard_Failure::Raise("Surface not C2");
break; break;