diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-10-26 20:26:57 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-10-26 20:27:01 +0300 |
commit | 6871f8482b03f13b94171dcbb1211b00802bb9bf (patch) | |
tree | 5c3e4e620dff5b5e2bb770a1b4afa513f09be0c8 | |
parent | 3286150ac9ab2c51cf4a12e75125c52de13fb9a0 (diff) |
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).
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 07ca3a27392..0172fa0655f 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -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 |