Fixed BRepAlgoAPI_BooleanOperation::DumpErrors method only available for OCC version > 7

This commit is contained in:
Thomas Paviot
2019-01-02 07:27:09 +01:00
committed by Thomas Krijnen
parent dec0c646cc
commit 9048ce4857
+5 -1
View File
@@ -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) {