LibOverride: make some pose options overridable.

Request from the studio.
This commit is contained in:
Bastien Montagne 2020-11-02 17:28:30 +01:00
parent 576bd98622
commit 1408052781
Notes: blender-bot 2023-02-14 09:36:46 +01:00
Referenced by issue #83846, Cannot enable X axis mirror inside the pose mode of linked(LibOverride) armature
1 changed files with 4 additions and 0 deletions

View File

@ -1695,6 +1695,8 @@ static void rna_def_pose(BlenderRNA *brna)
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "IK Param", "Parameters for IK solver");
RNA_define_lib_overridable(true);
/* pose edit options */
prop = RNA_def_property(srna, "use_mirror_x", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", POSE_MIRROR_EDIT);
@ -1722,6 +1724,8 @@ static void rna_def_pose(BlenderRNA *brna)
RNA_def_property_update(prop, 0, "rna_Pose_update");
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
RNA_define_lib_overridable(false);
/* animviz */
rna_def_animviz_common(srna);