[Bf-blender-cvs] [f95071028ce] master: UI: Fix wrong error message when trying to apply modifier
Pablo Vazquez
noreply at git.blender.org
Thu Oct 13 12:24:06 CEST 2022
Commit: f95071028ce11c77ffaac72fefee8d0884c39fc3
Author: Pablo Vazquez
Date: Thu Oct 13 12:24:03 2022 +0200
Branches: master
https://developer.blender.org/rBf95071028ce11c77ffaac72fefee8d0884c39fc3
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!
===================================================================
M source/blender/editors/object/object_modifier.cc
===================================================================
diff --git a/source/blender/editors/object/object_modifier.cc b/source/blender/editors/object/object_modifier.cc
index 9310aa3c58c..c7995809438 100644
--- a/source/blender/editors/object/object_modifier.cc
+++ b/source/blender/editors/object/object_modifier.cc
@@ -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;
}
More information about the Bf-blender-cvs
mailing list