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.
This commit is contained in:
Sybren A. Stüvel 2021-11-18 16:35:56 +01:00
parent 31afa1bb9a
commit 8d1357ea6b
1 changed files with 1 additions and 0 deletions

View File

@ -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'