diff options
author | Dalai Felinto <dalai@blender.org> | 2021-12-01 13:24:55 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2021-12-01 13:38:08 +0300 |
commit | 51791004ea8b2589f7cf7bd68187b60951ad27ca (patch) | |
tree | 1701cf9ed3ef75fd9ea3b80e0ecb166483470c37 /release/scripts/startup | |
parent | 5eeaf4cce69f10584d2d84671b2d44e86219c514 (diff) |
Fix errors in user preferences after 2.8 hack removal
How to reproduce it:
* Open User Preferences.
* Got to Add-ons tab.
Issue introduced on d723e331f155
Reported via chat by Pedro Alcaide (povmaniac).
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 1d655cf3c19..4976834dd87 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1966,13 +1966,7 @@ class USERPREF_PT_addons(AddOnPanel, Panel): sub.active = is_enabled sub.label(text="%s: %s" % (info["category"], info["name"])) - # WARNING: 2.8x exception, may be removed - # use disabled state for old add-ons, chances are they are broken. - if is_addon_27x: - sub.label(text="Upgrade to 2.8x required") - sub.label(icon='ERROR') - # Remove code above after 2.8x migration is complete. - elif info["warning"]: + if info["warning"]: sub.label(icon='ERROR') # icon showing support level. |