From 127bcaf96ece1217f8caba00e0c5c1608ca3214d Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 16 May 2018 10:11:00 -0300 Subject: [PATCH] adding exception for OCCT 7.3 --- src/ifcgeom/IfcGeomFunctions.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 761452a20c..099e4ec61f 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -2437,7 +2437,11 @@ bool IfcGeom::Kernel::split_solid_by_shell(const TopoDS_Shape& input, const Topo } apply_tolerance(solid, getValue(GV_PRECISION)); +#if OCC_VERSION_HEX >= 0x70300 TopTools_ListOfShape shapes; +#else + BOPCol_ListOfShape shapes; +#endif shapes.Append(input); shapes.Append(solid); BOPAlgo_PaveFiller filler(new NCollection_IncAllocator); // TODO: Does this need to be freed?