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