From 43853d0528a7a705f1022ad37b95e3b0d8927efd Mon Sep 17 00:00:00 2001 From: Cody Winchester Date: Fri, 29 May 2020 17:55:13 +0200 Subject: 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 --- source/blender/makesrna/intern/rna_modifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3