UI: Fix wrong error message when trying to apply modifier

The error message when trying to apply a constructive modifier on a curve
object was wrong, "transform" makes no sense in this context.

Thanks Philipp for pointing it out!
This commit is contained in:
Pablo Vazquez
2022-10-13 12:24:03 +02:00
parent 4767a8eb4a
commit f95071028c

View File

@@ -789,7 +789,9 @@ static bool modifier_apply_obdata(
if (ELEM(mti->type, eModifierTypeType_Constructive, eModifierTypeType_Nonconstructive)) {
BKE_report(
reports, RPT_ERROR, "Transform curve to mesh in order to apply constructive modifiers");
reports,
RPT_ERROR,
"Cannot apply constructive modifiers on curve. Convert curve to mesh in order to apply");
return false;
}