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
This commit is contained in:

committed by
Bastien Montagne

parent
67795c90fc
commit
43853d0528
@@ -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");
|
||||
|
Reference in New Issue
Block a user