From a65fa1e6067c04cee972fd4e66a8cddf52d1f410 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 28 Aug 2025 09:37:09 +0200 Subject: [PATCH] Fix failing inverse test --- src/ifcparse/IfcParse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index 69816e9257..7b85aa11ea 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -2049,12 +2049,12 @@ IfcUtil::IfcBaseClass* IfcFile::addEntity(IfcUtil::IfcBaseClass* entity, int id) }, storage_); } - /* - // @todo not needed anymore, because these are now calculated by using baseclass::set() ? + // @todo verify whether this is still needed. If instances are created directly on the file + // 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)) { build_inverses_(new_entity); } - */ return new_entity; }