From: vsr Date: Mon, 24 Nov 2014 12:23:28 +0000 (+0300) Subject: Backward compatibility OCCT < 6.8.0 X-Git-Tag: V7_5_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2fd1f59001c6e59d9e63ddf42ac2963aedce4fd4;p=modules%2Fgeom.git Backward compatibility OCCT < 6.8.0 --- diff --git a/src/GEOMImpl/GEOMImpl_Block6Explorer.cxx b/src/GEOMImpl/GEOMImpl_Block6Explorer.cxx index 5b6ab865a..0df1b0047 100644 --- a/src/GEOMImpl/GEOMImpl_Block6Explorer.cxx +++ b/src/GEOMImpl/GEOMImpl_Block6Explorer.cxx @@ -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 {