Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-05-31 11:06:22 +0300
committerHans Goudey <h.goudey@me.com>2022-05-31 11:06:22 +0300
commit247ceca6292f92d82cb5ecbfb2b2a2a489b5523a (patch)
tree594569eb968a63710344194fa7eb4ebf9b71bcf1
parenta30e67813d927c5f488362168b95151779b08efd (diff)
parent18a17d42911d804adc4ab072d00f4c1967337cf6 (diff)
Merge branch 'blender-v3.2-release'
-rw-r--r--source/blender/editors/object/object_modifier.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/object/object_modifier.cc b/source/blender/editors/object/object_modifier.cc
index 45c751f2c40..202c6d96a47 100644
--- a/source/blender/editors/object/object_modifier.cc
+++ b/source/blender/editors/object/object_modifier.cc
@@ -1468,7 +1468,7 @@ static int modifier_apply_exec_ex(bContext *C, wmOperator *op, int apply_as, boo
return OPERATOR_CANCELLED;
}
- if (do_merge_customdata &&
+ if (ob->type == OB_MESH && do_merge_customdata &&
(mti->type & (eModifierTypeType_Constructive | eModifierTypeType_Nonconstructive))) {
BKE_mesh_merge_customdata_for_apply_modifier((Mesh *)ob->data);
}
@@ -1531,12 +1531,12 @@ void OBJECT_OT_modifier_apply(wmOperatorType *ot)
edit_modifier_properties(ot);
edit_modifier_report_property(ot);
- RNA_def_boolean(
- ot->srna,
- "merge_customdata",
- true,
- "Merge UV's",
- "Merge UV coordinates that share a vertex to account for imprecision in some modifiers");
+ RNA_def_boolean(ot->srna,
+ "merge_customdata",
+ true,
+ "Merge UV's",
+ "For mesh objects, merge UV coordinates that share a vertex to account for "
+ "imprecision in some modifiers");
PropertyRNA *prop = RNA_def_boolean(ot->srna,
"single_user",
false,