diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-10-17 11:21:52 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-10-17 11:21:52 +0300 |
commit | 74db523a52e4e57a52887274d1e55617b2faa87c (patch) | |
tree | f9ed202d3be76a2d31d6bf6350f787099acb74ec /source/blender/makesrna/intern/rna_constraint.c | |
parent | 85ddaaa16ede2fb223898e8e28182f4b6dec337e (diff) |
Fix T70739: Make Library Override doesn't re-target Armature constraints.
Missing one step (collection prop itself) in RNA hierarchy of properties
leading to those armature object pointers...
Diffstat (limited to 'source/blender/makesrna/intern/rna_constraint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_constraint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index 7732bf531d8..c0211799192 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -1045,6 +1045,7 @@ static void rna_def_constraint_armature_deform(BlenderRNA *brna) RNA_def_property_collection_sdna(prop, NULL, "targets", NULL); RNA_def_property_struct_type(prop, "ConstraintTargetBone"); RNA_def_property_ui_text(prop, "Targets", "Target Bones"); + RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); rna_def_constraint_armature_deform_targets(brna, prop); prop = RNA_def_property(srna, "use_deform_preserve_volume", PROP_BOOLEAN, PROP_NONE); |