[Bf-blender-cvs] [2360168b035] filebrowser_redesign: Show the workspace icon in the file browser
Julian Eisel
noreply at git.blender.org
Mon Aug 12 00:17:07 CEST 2019
Commit: 2360168b035924fc43737d7fa3e0a8ce7b603bd7
Author: Julian Eisel
Date: Mon Aug 12 00:15:32 2019 +0200
Branches: filebrowser_redesign
https://developer.blender.org/rB2360168b035924fc43737d7fa3e0a8ce7b603bd7
Show the workspace icon in the file browser
Actually, this is not just file-browser specific. It adds the icon
everywhere we try to show data-block icons (e.g. outliner).
===================================================================
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 e9aa18394fa..d4d88f6900f 100644
--- a/source/blender/editors/interface/interface_icons.c
+++ b/source/blender/editors/interface/interface_icons.c
@@ -2243,6 +2243,8 @@ int UI_idcode_icon_get(const int idcode)
return ICON_FONT_DATA;
case ID_WO:
return ICON_WORLD_DATA;
+ case ID_WS:
+ return ICON_WORKSPACE;
default:
return ICON_NONE;
}
More information about the Bf-blender-cvs
mailing list