mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Fix null dereference
This commit is contained in:
@@ -604,7 +604,7 @@ namespace IfcGeom {
|
||||
|
||||
// get the parent
|
||||
try {
|
||||
parent_object = getObject(parent_object->parent_id());
|
||||
parent_object = getObject(ret->parent_id());
|
||||
} catch (const std::exception& e) {
|
||||
Logger::Error(e);
|
||||
hasParent = false;
|
||||
|
||||
Reference in New Issue
Block a user