Move apply logic to common and eliminate selected bool

This commit is contained in:
2024-12-27 02:28:38 -06:00
parent 4157a12531
commit 1d25f45735
4 changed files with 73 additions and 66 deletions

2
gui.py
View File

@ -75,8 +75,6 @@ class DATA_PT_DSPLPanel(bpy.types.Panel):
if active_pose_library.pose_markers.active:
quick_apply_layout = quick_pose_controls_layout.split(
align=True)
quick_apply_layout.prop(arm_object.dsplvars,
"only_selected", icon='GROUP_BONE', text="Selected", toggle=True)
quick_apply_layout.operator(
"dspl.browse_poses", icon='CON_ARMATURE', text="Browse")
if dsplsettings.new_menu == False: