[Bf-blender-cvs] [5efddc4347e] blender-v3.0-release: Fix add-on Preferences using the .blend file icon, not the Blender logo

Julian Eisel noreply at git.blender.org
Tue Nov 23 15:30:10 CET 2021


Commit: 5efddc4347e36e2153608c6c60230b1737dd9164
Author: Julian Eisel
Date:   Tue Nov 23 15:22:06 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rB5efddc4347e36e2153608c6c60230b1737dd9164

Fix add-on Preferences using the .blend file icon, not the Blender logo

Intention of the icon is to mark add-ons that are official/bundled.
Doesn't make much sense to use the .blend file icon for that. It's
arguable if the Blender logo should be used for this, but the file icon
is definitely the wrong choice.

===================================================================

M	release/scripts/startup/bl_ui/space_userpref.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 705f6fd788e..e7f93bddac3 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1808,7 +1808,7 @@ class USERPREF_PT_addons(AddOnPanel, Panel):
     bl_options = {'HIDE_HEADER'}
 
     _support_icon_mapping = {
-        'OFFICIAL': 'FILE_BLEND',
+        'OFFICIAL': 'BLENDER',
         'COMMUNITY': 'COMMUNITY',
         'TESTING': 'EXPERIMENTAL',
     }



More information about the Bf-blender-cvs mailing list