Pose Library: Update to use the asset shelf (when enabled) #104546

Merged
Julian Eisel merged 33 commits from asset-shelf into main 2023-08-04 15:00:21 +02:00
Showing only changes of commit 557d58e195 - Show all commits

View File

@ -73,7 +73,7 @@ class VIEW3D_PT_pose_library(PoseLibraryPanel, Panel):
@classmethod
def poll(cls, context: Context) -> bool:
prefs = bpy.context.preferences
prefs = context.preferences
# Use Asset Shelf as UI instead of the old asset-view template in the sidebar.
if prefs.experimental.use_asset_shelf:
return False