From 9048ce48574f493795ad454c1832c7d9a38901f5 Mon Sep 17 00:00:00 2001 From: Thomas Paviot Date: Wed, 2 Jan 2019 07:27:09 +0100 Subject: [PATCH 1/2] Fixed BRepAlgoAPI_BooleanOperation::DumpErrors method only available for OCC version > 7 --- src/ifcgeom/IfcGeomFunctions.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 0dd20b2fef..4b738f0963 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -3701,8 +3701,12 @@ bool IfcGeom::Kernel::boolean_operation(const TopoDS_Shape& a, const TopTools_Li } } else { std::stringstream str; +#if OCC_VERSION_HEX >= 0x70000 builder->DumpErrors(str); - Logger::Notice(str.str()); +#else + str << "Error code :" << builder->ErrorStatus(); +#endif + Logger::Notice(str.str()); } delete builder; if (!success) { From 9d6eec0f5aefa9eda3e5f8adf43a08fda158c9d7 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sat, 5 Jan 2019 13:42:51 +0100 Subject: [PATCH 2/2] Update suprepo --- test/input | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/input b/test/input index ad80015ebf..a75c92451c 160000 --- a/test/input +++ b/test/input @@ -1 +1 @@ -Subproject commit ad80015ebf72718bebc445d812276eef03c404e5 +Subproject commit a75c92451c8e5b63641b57ed8216849b0121d33d