[Bf-blender-cvs] [1addcc02f38] temp-lanpr-cleanup: Fix T69877: missing dependency update when setting PoseBone.custom_shape.

Alexander Gavrilov noreply at git.blender.org
Mon Sep 16 14:56:19 CEST 2019


Commit: 1addcc02f38abd78f4edc64714eb0e4bed1ec76c
Author: Alexander Gavrilov
Date:   Sun Sep 15 11:15:47 2019 +0300
Branches: temp-lanpr-cleanup
https://developer.blender.org/rB1addcc02f38abd78f4edc64714eb0e4bed1ec76c

Fix T69877: missing dependency update when setting PoseBone.custom_shape.

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

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

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

diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c
index e514fd82aca..34a759d544e 100644
--- a/source/blender/makesrna/intern/rna_pose.c
+++ b/source/blender/makesrna/intern/rna_pose.c
@@ -1299,7 +1299,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
   RNA_def_property_ui_text(
       prop, "Custom Object", "Object that defines custom draw type for this bone");
   RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
-  RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Pose_update");
+  RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Pose_dependency_update");
 
   prop = RNA_def_property(srna, "custom_shape_scale", PROP_FLOAT, PROP_NONE);
   RNA_def_property_float_sdna(prop, NULL, "custom_scale");



More information about the Bf-blender-cvs mailing list