diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-23 19:10:06 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-23 19:10:06 +0300 |
commit | 20105fc8454a34c342f0f5500497c4452ec2b7ee (patch) | |
tree | 7fe389ed9872918f0be879f0a239df64364ceb57 /source/blender/makesrna/intern/rna_pose.c | |
parent | 4498192813c334e824858ffd09b2926caa90b072 (diff) |
Static Override: initial enabling of overrides for modifiers and constraints.
Just the 'mute' button for now.
Diffstat (limited to 'source/blender/makesrna/intern/rna_pose.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_pose.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c index 0c8bfb31af3..a2005dbb161 100644 --- a/source/blender/makesrna/intern/rna_pose.c +++ b/source/blender/makesrna/intern/rna_pose.c @@ -806,6 +806,7 @@ static void rna_def_pose_channel(BlenderRNA *brna) /* Bone Constraints */ prop = RNA_def_property(srna, "constraints", PROP_COLLECTION, PROP_NONE); RNA_def_property_struct_type(prop, "Constraint"); + RNA_def_property_flag(prop, PROP_OVERRIDABLE_STATIC); RNA_def_property_ui_text(prop, "Constraints", "Constraints that act on this PoseChannel"); rna_def_pose_channel_constraints(brna, prop); |