TopoNaming: restore defenses against multisolids when enabled

This commit is contained in:
bgbsww
2024-05-21 21:42:05 -04:00
parent febe5c3d9e
commit 12619b2c2d
5 changed files with 27 additions and 4 deletions

View File

@@ -114,6 +114,9 @@ App::DocumentObjectExecReturn *Fillet::execute()
shape = refineShapeIfActive(shape);
shape = getSolid(shape);
}
if (!isSingleSolidRuleSatisfied(shape.getShape())) {
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: that is not currently supported."));
}
this->Shape.setValue(shape);
if (failed) {