Skip to content

Commit 90bdf03

Browse files
committed
Disable exception
1 parent 6e87a21 commit 90bdf03

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ifcparse/IfcParse.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,8 @@ void IfcParse::IfcFile::unregister_inverse(unsigned id_from, IfcUtil::IfcBaseCla
923923
std::vector<unsigned int>& ids = byref[inst->entity->id()];
924924
std::vector<unsigned int>::iterator it = std::find(ids.begin(), ids.end(), id_from);
925925
if (it == ids.end()) {
926-
throw IfcParse::IfcException("Instance not found among inverses");
926+
// @todo inverses also need to be populated when multiple instances are added to a new file.
927+
// throw IfcParse::IfcException("Instance not found among inverses");
927928
} else {
928929
ids.erase(it);
929930
}

0 commit comments

Comments
 (0)