UI: Asset Shelf (Experimental Feature) #104831

Closed
Julian Eisel wants to merge 399 commits from asset-shelf into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 8 additions and 0 deletions
Showing only changes of commit 0bef07e9c5 - Show all commits

View File

@ -1158,6 +1158,14 @@ class PreferenceThemeSpacePanel:
},
}
@classmethod
def poll(cls, context):
# Special exception for expeimental asset shelf.
if cls.datapath.endswith(".asset_shelf"):
prefs = context.preferences
return prefs.experimental.use_asset_shelf
return True
# TODO theme_area should be deprecated
@staticmethod
def _theme_generic(layout, themedata, theme_area):