From: azv Date: Wed, 22 Nov 2017 07:26:29 +0000 (+0300) Subject: Fix compilation problem on OCCT 7.1.0 X-Git-Tag: V_2.10.0RC~148 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7e3e85eac440de3b0380beaf521f4e32ae91e330;p=modules%2Fshaper.git Fix compilation problem on OCCT 7.1.0 --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.cpp index 50a69711b..0dc7ef9a7 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.cpp @@ -65,7 +65,9 @@ void GeomAlgoAPI_MakeVolume::build(const ListOfShape& theFaces) // parameters of the volume maker aVolumeMaker->SetArguments(anArgs); aVolumeMaker->SetIntersect(true); // split edges and faces +#ifdef USE_OCCT_720 aVolumeMaker->SetAvoidInternalShapes(true); +#endif aVolumeMaker->SetGlue(BOPAlgo_GlueShift); // building and getting result