mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
Disable exception
This commit is contained in:
@@ -923,7 +923,8 @@ void IfcParse::IfcFile::unregister_inverse(unsigned id_from, IfcUtil::IfcBaseCla
|
||||
std::vector<unsigned int>& ids = byref[inst->entity->id()];
|
||||
std::vector<unsigned int>::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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user