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...
This commit is contained in:
Bastien Montagne 2019-10-17 10:21:52 +02:00
parent 85ddaaa16e
commit 74db523a52
Notes: blender-bot 2023-04-14 09:18:04 +02:00
Referenced by issue #70739, Make Library Override doesn't re-target Armature constraints
1 changed files with 1 additions and 0 deletions

View File

@ -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);