From 7e3e85eac440de3b0380beaf521f4e32ae91e330 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 22 Nov 2017 10:26:29 +0300 Subject: [PATCH] Fix compilation problem on OCCT 7.1.0 --- src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2