mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
Don't log empty error messages from boolean op
This commit is contained in:
@@ -4035,9 +4035,12 @@ bool IfcGeom::Kernel::boolean_operation(const TopoDS_Shape& a_, const TopTools_L
|
|||||||
#if OCC_VERSION_HEX >= 0x70000
|
#if OCC_VERSION_HEX >= 0x70000
|
||||||
builder->DumpErrors(str);
|
builder->DumpErrors(str);
|
||||||
#else
|
#else
|
||||||
str << "Error code :" << builder->ErrorStatus();
|
str << "Error code: " << builder->ErrorStatus();
|
||||||
#endif
|
#endif
|
||||||
Logger::Notice(str.str());
|
std::string str_str = str.str();
|
||||||
|
if (str_str.size()) {
|
||||||
|
Logger::Notice(str_str);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
delete builder;
|
delete builder;
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user