Fix failing inverse test

This commit is contained in:
Thomas Krijnen
2025-08-28 09:37:09 +02:00
parent c97a1faecd
commit a65fa1e606
+3 -3
View File
@@ -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;
} }