PartDesign: Update error message about multiple solids (#23286)

This commit is contained in:
FEA-eng
2025-08-22 20:29:50 +02:00
committed by GitHub
parent c13458fe26
commit 80c110764c
11 changed files with 32 additions and 11 deletions

View File

@@ -229,7 +229,7 @@ App::DocumentObjectExecReturn* Revolution::execute()
result = refineShapeIfActive(result);
}
if (!isSingleSolidRuleSatisfied(result.getShape())) {
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: that is not currently supported."));
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Result has multiple solids: enable 'Allow Compounds' in the active body."));
}
result = getSolid(result);
this->Shape.setValue(result);
@@ -415,3 +415,5 @@ void Revolution::updateProperties(RevolMethod method)
}
}