Fix T69877: missing dependency update when setting PoseBone.custom_shape.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user