mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Fix failing inverse test
This commit is contained in:
@@ -2049,12 +2049,12 @@ IfcUtil::IfcBaseClass* IfcFile::addEntity(IfcUtil::IfcBaseClass* entity, int id)
|
|||||||
}, storage_);
|
}, storage_);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
// @todo verify whether this is still needed. If instances are created directly on the file
|
||||||
// @todo not needed anymore, because these are now calculated by using baseclass::set() ?
|
// with create() (which is a necessity for using rocksdb storage) then it should be sufficient
|
||||||
|
// to register inverses only on attribute updates.
|
||||||
if ((ty->as_entity() != nullptr)) {
|
if ((ty->as_entity() != nullptr)) {
|
||||||
build_inverses_(new_entity);
|
build_inverses_(new_entity);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
return new_entity;
|
return new_entity;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user