]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation problem on OCCT 7.1.0
authorazv <azv@opencascade.com>
Wed, 22 Nov 2017 07:26:29 +0000 (10:26 +0300)
committerazv <azv@opencascade.com>
Wed, 22 Nov 2017 07:26:29 +0000 (10:26 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.cpp

index 50a69711bb9b184b86d8cf998b4d5aacdceb78e9..0dc7ef9a777572eee9370915a64d495d6c52c0c4 100644 (file)
@@ -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