[Bf-blender-cvs] [4df7e6047b8] temp-spreadsheet-editor: use new spreadsheet icon

Jacques Lucke noreply at git.blender.org
Fri Feb 26 14:48:08 CET 2021


Commit: 4df7e6047b84934de7c9c82e3526cfa43344b300
Author: Jacques Lucke
Date:   Fri Feb 26 11:44:57 2021 +0100
Branches: temp-spreadsheet-editor
https://developer.blender.org/rB4df7e6047b84934de7c9c82e3526cfa43344b300

use new spreadsheet icon

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

M	source/blender/makesrna/intern/rna_space.c
M	source/blender/makesrna/intern/rna_userdef.c

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

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 17306574bec..48693637931 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -147,7 +147,7 @@ const EnumPropertyItem rna_enum_space_type_items[] = {
     {SPACE_FILE, "FILE_BROWSER", ICON_FILEBROWSER, "File Browser", "Browse for files and assets"},
     {SPACE_SPREADSHEET,
      "SPREADSHEET",
-     ICON_MOD_WIREFRAME, /* TODO: Use correct icon. */
+     ICON_SPREADSHEET,
      "Spreadsheet",
      "Explore geometry data in a table"},
     {SPACE_USERPREF,
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 35f6462e6d2..f3edbc61228 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -3893,7 +3893,7 @@ static void rna_def_userdef_themes(BlenderRNA *brna)
       {20, "CLIP_EDITOR", ICON_TRACKER, "Movie Clip Editor", ""},
       {21, "TOPBAR", ICON_TOPBAR, "Top Bar", ""},
       {22, "STATUSBAR", ICON_STATUSBAR, "Status Bar", ""},
-      {23, "SPREADSHEET", ICON_MOD_WIREFRAME, "Spreadsheet"}, /* TODO: Use correct icon. */
+      {23, "SPREADSHEET", ICON_SPREADSHEET, "Spreadsheet"},
       {0, NULL, 0, NULL, NULL},
   };



More information about the Bf-blender-cvs mailing list