mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
#4450 todo note
This commit is contained in:
@@ -859,7 +859,9 @@ IfcSchema::IfcRepresentation* IfcGeom::Kernel::representation_mapped_to(const If
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (const IfcParse::IfcException& e) {
|
} 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?
|
// @todo reset representation_mapped_to to zero?
|
||||||
}
|
}
|
||||||
return representation_mapped_to;
|
return representation_mapped_to;
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ namespace {
|
|||||||
|
|
||||||
if (box.IsVoid()) {
|
if (box.IsVoid()) {
|
||||||
// false or true, it doesn't really matter, just don't
|
// 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.
|
// throws an exception.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user