diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index 3998fc4403..4b4e432825 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -923,7 +923,8 @@ void IfcParse::IfcFile::unregister_inverse(unsigned id_from, IfcUtil::IfcBaseCla std::vector& ids = byref[inst->entity->id()]; std::vector::iterator it = std::find(ids.begin(), ids.end(), id_from); if (it == ids.end()) { - throw IfcParse::IfcException("Instance not found among inverses"); + // @todo inverses also need to be populated when multiple instances are added to a new file. + // throw IfcParse::IfcException("Instance not found among inverses"); } else { ids.erase(it); }