[Bf-blender-cvs] [eb27595ac48] blender-v2.83-release: Fix T76703: GPencil bone parenting missing dependency update

Philipp Oeser noreply at git.blender.org
Wed May 13 11:42:16 CEST 2020


Commit: eb27595ac486c2321a12e77f832a1c37bccbd143
Author: Philipp Oeser
Date:   Wed May 13 11:14:32 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBeb27595ac486c2321a12e77f832a1c37bccbd143

Fix T76703: GPencil bone parenting missing dependency update

Maniphest Tasks: T76703

Differential Revision: https://developer.blender.org/D7715

===================================================================

M	source/blender/makesrna/intern/rna_gpencil.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list