Pose Library: add "Flip Pose" checkbox to UIList in 3D View panel

This commit is contained in:
Sybren A. Stüvel 2021-04-12 17:45:05 +02:00
parent 347c310444
commit 65ceed8f36
1 changed files with 3 additions and 1 deletions

View File

@ -45,9 +45,11 @@ class VIEW3D_PT_pose_library(Panel):
row.operator("poselib.restore_previous_action", text="", icon='LOOP_BACK')
row.operator("poselib.copy_as_asset", icon="COPYDOWN", text="")
wm = context.window_manager
layout.prop(wm, "poselib_flipped")
if hasattr(layout, "template_asset_view"):
workspace = context.workspace
wm = context.window_manager
activate_op_props, drag_op_props = layout.template_asset_view(
"pose_assets",
workspace,