#1567 Clear inverse cache map after entity insertion

This commit is contained in:
Thomas Krijnen
2021-07-17 10:20:50 +02:00
parent 0f39b09396
commit 99e74533c3
+4
View File
@@ -1792,6 +1792,10 @@ IfcUtil::IfcBaseClass* IfcFile::addEntity(IfcUtil::IfcBaseClass* entity, int id)
build_inverses_(new_entity);
}
// @todo the id isn't actually used here, but instead
// clears the entire inverse cache map.
mark_entity_as_modified(0);
return new_entity;
}