[Bf-blender-cvs] [d2239b685c5] master: UI: Use better icon for identifying assets

Julian Eisel noreply at git.blender.org
Mon Dec 21 13:34:03 CET 2020


Commit: d2239b685c5660530822d8c75070208156f7e4c1
Author: Julian Eisel
Date:   Mon Dec 21 13:30:40 2020 +0100
Branches: master
https://developer.blender.org/rBd2239b685c5660530822d8c75070208156f7e4c1

UI: Use better icon for identifying assets

Use the `ASSET_MANAGER` icon which is more appropriate than the current one
which was just an unused icon that seemed sorta fitting, but was only meant to
be temporary.
The `ASSET_MANAGER` icon is already used for the Asset Browser, so it's being
reused which we normally avoid. So we may still want to create a dedicated one,
maybe a variation of this one.

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

M	source/blender/editors/interface/interface_icons.c

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

diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c
index 899f4a6ddb1..1a214d6a899 100644
--- a/source/blender/editors/interface/interface_icons.c
+++ b/source/blender/editors/interface/interface_icons.c
@@ -2200,7 +2200,7 @@ int UI_icon_from_library(const ID *id)
     return ICON_LIBRARY_DATA_OVERRIDE;
   }
   if (ID_IS_ASSET(id)) {
-    return ICON_MAT_SPHERE_SKY;
+    return ICON_ASSET_MANAGER;
   }
 
   return ICON_NONE;



More information about the Bf-blender-cvs mailing list