mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 10:34:31 +00:00
Fixed BRepAlgoAPI_BooleanOperation::DumpErrors method only available for OCC version > 7
This commit is contained in:
committed by
Thomas Krijnen
parent
dec0c646cc
commit
9048ce4857
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user