Salome HOME
Backward compatibility OCCT < 6.8.0 V7_5_0 V7_5_0rc1
authorvsr <vsr@opencascade.com>
Mon, 24 Nov 2014 12:23:28 +0000 (15:23 +0300)
committervsr <vsr@opencascade.com>
Mon, 24 Nov 2014 12:23:28 +0000 (15:23 +0300)
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 {