From eb27595ac486c2321a12e77f832a1c37bccbd143 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Wed, 13 May 2020 11:14:32 +0200 Subject: [PATCH] Fix T76703: GPencil bone parenting missing dependency update Maniphest Tasks: T76703 Differential Revision: https://developer.blender.org/D7715 --- source/blender/makesrna/intern/rna_gpencil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index f09d25ece41..1c9e9af3f62 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -1720,7 +1720,7 @@ static void rna_def_gpencil_layer(BlenderRNA *brna) RNA_def_property_enum_funcs( prop, NULL, "rna_GPencilLayer_parent_type_set", "rna_Object_parent_type_itemf"); RNA_def_property_ui_text(prop, "Parent Type", "Type of parent relation"); - RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); + RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_dependency_update"); /* parent bone */ prop = RNA_def_property(srna, "parent_bone", PROP_STRING, PROP_NONE); @@ -1728,7 +1728,7 @@ static void rna_def_gpencil_layer(BlenderRNA *brna) RNA_def_property_string_funcs(prop, NULL, NULL, "rna_GPencilLayer_parent_bone_set"); RNA_def_property_ui_text( prop, "Parent Bone", "Name of parent bone in case of a bone parenting relation"); - RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); + RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_dependency_update"); /* matrix */ prop = RNA_def_property(srna, "matrix_inverse", PROP_FLOAT, PROP_MATRIX);