[Bf-blender-cvs] [cf47de1201a] workspaces: Place holder icon
Campbell Barton
noreply at git.blender.org
Tue Apr 4 15:09:32 CEST 2017
Commit: cf47de1201a2a4faee1e27f65fce661d59957316
Author: Campbell Barton
Date: Tue Apr 4 19:51:01 2017 +1000
Branches: workspaces
https://developer.blender.org/rBcf47de1201a2a4faee1e27f65fce661d59957316
Place holder icon
Superficial but looks buggy having no icon
===================================================================
M source/blender/makesrna/intern/rna_workspace.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_workspace.c b/source/blender/makesrna/intern/rna_workspace.c
index 1611f984d2c..02cc0d4f30c 100644
--- a/source/blender/makesrna/intern/rna_workspace.c
+++ b/source/blender/makesrna/intern/rna_workspace.c
@@ -92,7 +92,8 @@ static void rna_def_workspace(BlenderRNA *brna)
srna = RNA_def_struct(brna, "WorkSpace", "ID");
RNA_def_struct_sdna(srna, "WorkSpace");
RNA_def_struct_ui_text(srna, "Workspace", "Workspace data-block, defining the working environment for the user");
- RNA_def_struct_ui_icon(srna, ICON_NONE);
+ /* TODO: real icon, just to show something */
+ RNA_def_struct_ui_icon(srna, ICON_RENDER_RESULT);
prop = RNA_def_property(srna, "screens", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_sdna(prop, NULL, "layouts", NULL);
More information about the Bf-blender-cvs
mailing list