Toponaming: Fix crash with invalid external geometry

This commit is contained in:
bgbsww
2024-06-17 11:31:04 -05:00
committed by Chris Hennes
parent 3ab53aba3d
commit 2d22e7a21a
+5
View File
@@ -7403,6 +7403,11 @@ void SketchObject::validateExternalLinks()
Base::Console().Warning(
this->getFullLabel(), (indexError.getMessage() + "\n").c_str());
}
catch ( Base::ValueError& valueError ) {
removeBadLink = true;
Base::Console().Warning(
this->getFullLabel(), (valueError.getMessage() + "\n").c_str());
}
catch (Standard_Failure&) {
removeBadLink = true;
}