Salome HOME
0022686: [CEA 1268] Explode a shape into edges sorted in a row from a starting point
[modules/geom.git] / src / GEOMImpl / GEOMImpl_Block6Explorer.cxx
index 5b6ab865a12ca2f1c35d2ff0105a4feddc3c0852..0df1b0047487eb927ae120249bf0d436e22fe56e 100644 (file)
@@ -1415,6 +1415,7 @@ TCollection_AsciiString GEOMImpl_Block6Explorer::MakeAnyFace (const TopoDS_Wire&
 
   if (!theResult.IsNull()) {
     // try to deal with result of BRepBuilderAPI_MakeFace + ShHealOper_ShapeProcess
+#if OCC_VERSION_LARGE >= 0x06080000
 #ifdef MAKE_FACE_PCURVES_FIX_TOLERANCE
     // check and fix pcurves, if necessary
     Standard_Real aT, aTolE, aD, aDMax;
@@ -1446,6 +1447,7 @@ TCollection_AsciiString GEOMImpl_Block6Explorer::MakeAnyFace (const TopoDS_Wire&
     for (; aDMETolIt.More(); aDMETolIt.Next()) {
       sat.LimitTolerance(aDMETolIt.Key(), aDMETolIt.Value());
     }
+#endif
 #endif
   }
   else {