From 01b4ca144c7ac88b2fe8a0f8ac57ae3b6161b5f5 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 24 Nov 2014 15:23:28 +0300 Subject: [PATCH] Backward compatibility OCCT < 6.8.0 --- src/GEOMImpl/GEOMImpl_Block6Explorer.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 { -- 2.39.2