Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-10-26 20:26:57 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-10-26 20:27:01 +0300
commit6871f8482b03f13b94171dcbb1211b00802bb9bf (patch)
tree5c3e4e620dff5b5e2bb770a1b4afa513f09be0c8 /release
parent3286150ac9ab2c51cf4a12e75125c52de13fb9a0 (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).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py5
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