3D View, Objects menu: Always show Assets sub-menu

Now that object assets are no longer considered experimental, the Assets
submenu can always be shown (regardless of the Extended Asset Browser
experimental feature).
This commit is contained in:
2021-10-26 19:26:57 +02:00
parent 3286150ac9
commit 6871f8482b

View File

@@ -2762,11 +2762,6 @@ class VIEW3D_MT_object_cleanup(Menu):
class VIEW3D_MT_object_asset(Menu):
bl_label = "Asset"
@classmethod
def poll(cls, context):
# TODO(Sybren): once object assets are no longer considered experimental, remove this poll function.
return context.preferences.experimental.use_extended_asset_browser
def draw(self, _context):
layout = self.layout