From d723e331f155871fa5c2771aaa634aea0193d2b1 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Tue, 30 Nov 2021 22:53:26 -0500 Subject: Cleanup: Remove hack to hide pre 2.8 addons in the user preferences Should be safe to do so now that 2.8+ has been out for 8 releases and over 2 years now. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12984 --- release/scripts/startup/bl_ui/space_userpref.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 92d1e8e2586..1d655cf3c19 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1868,11 +1868,6 @@ class USERPREF_PT_addons(AddOnPanel, Panel): if p ) - # Development option for 2.8x, don't show users bundled addons - # unless they have been updated for 2.8x. - # Developers can turn them on with '--debug' - show_official_27x_addons = bpy.app.debug - # collect the categories that can be filtered on addons = [ (mod, addon_utils.module_bl_info(mod)) @@ -1949,15 +1944,6 @@ class USERPREF_PT_addons(AddOnPanel, Panel): ): continue - # Skip 2.7x add-ons included with Blender, unless in debug mode. - is_addon_27x = info.get("blender", (0,)) < (2, 80) - if ( - is_addon_27x and - (not show_official_27x_addons) and - (not mod.__file__.startswith(addon_user_dirs)) - ): - continue - # Addon UI Code col_box = col.column() box = col_box.box() -- cgit v1.2.3