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 26a7067e44
commit b7c233b94e
11 changed files with 32 additions and 11 deletions

View File

@@ -160,7 +160,7 @@ App::DocumentObjectExecReturn *Boolean::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."));
}
this->Shape.setValue(getSolid(result));
@@ -185,3 +185,6 @@ void Boolean::handleChangedPropertyName(Base::XMLReader &reader, const char * Ty
}
}