Salome HOME
Merge remote-tracking branch 'origin/cbr/export_to_geom_via_xao'
[modules/shaper.git] / 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