[Bf-blender-cvs] [55e02e7931d] master: Fix T69877: missing dependency update when setting PoseBone.custom_shape.

Alexander Gavrilov noreply at git.blender.org
Sun Sep 15 10:29:18 CEST 2019


Commit: 55e02e7931d2a779a228205dec285c4867cdf1d5
Author: Alexander Gavrilov
Date:   Sun Sep 15 11:15:47 2019 +0300
Branches: master
https://developer.blender.org/rB55e02e7931d2a779a228205dec285c4867cdf1d5

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