Skip to content

Commit a65fa1e

Browse files
committed
Fix failing inverse test
1 parent c97a1fa commit a65fa1e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ifcparse/IfcParse.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,12 +2049,12 @@ IfcUtil::IfcBaseClass* IfcFile::addEntity(IfcUtil::IfcBaseClass* entity, int id)
20492049
}, storage_);
20502050
}
20512051

2052-
/*
2053-
// @todo not needed anymore, because these are now calculated by using baseclass::set() ?
2052+
// @todo verify whether this is still needed. If instances are created directly on the file
2053+
// with create() (which is a necessity for using rocksdb storage) then it should be sufficient
2054+
// to register inverses only on attribute updates.
20542055
if ((ty->as_entity() != nullptr)) {
20552056
build_inverses_(new_entity);
20562057
}
2057-
*/
20582058

20592059
return new_entity;
20602060
}

0 commit comments

Comments
 (0)