This commit is contained in:
Thomas Krijnen
2024-03-31 15:16:30 +02:00
parent 9378a763f3
commit ac7f2aeb62
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -859,7 +859,9 @@ IfcSchema::IfcRepresentation* IfcGeom::Kernel::representation_mapped_to(const If
}
}
} catch (const IfcParse::IfcException& e) {
Logger::Error(e);
// @todo the remove_boundingboxes() in IfcConvert leave dangling IfcRepresentationMap
// causing this error to be logged.
Logger::Error(e, representation);
// @todo reset representation_mapped_to to zero?
}
return representation_mapped_to;
+1 -1
View File
@@ -402,7 +402,7 @@ namespace {
if (box.IsVoid()) {
// false or true, it doesn't really matter, just don't
// proceed because asking for a corner of a void box
// proceed, because asking for a corner of a void box
// throws an exception.
return false;
}