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:
authorCody Winchester <CodyWinch>2020-05-29 18:55:13 +0300
committerBastien Montagne <bastien@blender.org>2020-05-29 18:56:42 +0300
commit43853d0528a7a705f1022ad37b95e3b0d8927efd (patch)
treeb79351c73c7da575916c7a15da3ef21eb2af6122
parent67795c90fcd226cdb5255349e3af304eecd3a94c (diff)
Fix: Array modifier start cap not updating with object changes
When setting the start cap of the array modifier it does not update when updating the start cap objects geometry. This patch switches the property update to rna_Modifier_dependency_update, the same as the end cap which works properly. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7584
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 885d65e50ad..031d37bcbdf 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -2813,7 +2813,7 @@ static void rna_def_modifier_array(BlenderRNA *brna)
prop, NULL, "rna_ArrayModifier_start_cap_set", NULL, "rna_Mesh_object_poll");
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK);
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
- RNA_def_property_update(prop, 0, "rna_Modifier_update");
+ RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update");
prop = RNA_def_property(srna, "end_cap", PROP_POINTER, PROP_NONE);
RNA_def_property_ui_text(prop, "End Cap", "Mesh object to use as an end cap");