diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-11-18 18:35:56 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-11-18 18:35:56 +0300 |
commit | 8d1357ea6bcfcefb862c5c919585639a803da447 (patch) | |
tree | d3cfda9d7a20cd7c18c9d4fc2b084e898e123122 | |
parent | 31afa1bb9abf6adcfcb0efc0e227076fa47d92ba (diff) |
Pose Library: add conversion button to old poselib UI
Add the "Convert Old Pose Library" operator to the old pose library (in
the Armature properties editor). This makes it more discoverable; before
it only was available in the Action editor.
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_armature.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_armature.py b/release/scripts/startup/bl_ui/properties_data_armature.py index 87572fcd438..22f3d1a9c50 100644 --- a/release/scripts/startup/bl_ui/properties_data_armature.py +++ b/release/scripts/startup/bl_ui/properties_data_armature.py @@ -220,6 +220,7 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel): ).pose_index = poselib.pose_markers.active_index col.operator("poselib.action_sanitize", icon='HELP', text="") # XXX: put in menu? + col.operator("poselib.convert_old_poselib", icon='ASSET_MANAGER', text="") if pose_marker_active is not None: col.operator("poselib.pose_move", icon='TRIA_UP', text="").direction = 'UP' |