Page MenuHome

jeske-editor-type-menu-reorg-RC2.patch

File Metadata

Author
David Jeske (jeske)
Created
Nov 13 2013, 4:39 PM

jeske-editor-type-menu-reorg-RC2.patch

Index: source/blender/makesrna/intern/rna_space.c
===================================================================
--- source/blender/makesrna/intern/rna_space.c (revision 58053)
+++ source/blender/makesrna/intern/rna_space.c (working copy)
@@ -62,29 +62,42 @@
EnumPropertyItem space_type_items[] = {
/* empty must be here for python, is skipped for UI */
{SPACE_EMPTY, "EMPTY", ICON_NONE, "Empty", ""},
+
+ /* Workspaces - author new data directly */
+ {0, "", ICON_NONE, " ", "" },
{SPACE_VIEW3D, "VIEW_3D", ICON_VIEW3D, "3D View", ""},
- {0, "", ICON_NONE, NULL, NULL},
- {SPACE_TIME, "TIMELINE", ICON_TIME, "Timeline", ""},
+ {SPACE_IMAGE, "IMAGE_EDITOR", ICON_IMAGE_COL, "UV / Image", ""},
+ {SPACE_SEQ, "SEQUENCE_EDITOR", ICON_SEQUENCE, "Video Sequence", ""},
+ {SPACE_CLIP, "CLIP_EDITOR", ICON_CLIP, "Motion Tracker", ""},
+ {SPACE_NODE, "NODE_EDITOR", ICON_NODETREE, "Node Editor", ""},
+
+ /* Tools - alternate editing views on the data being created in workspaces */
+ {0, "", ICON_NONE, " ", "" },
+ {SPACE_OUTLINER, "OUTLINER", ICON_OOPS, "Outliner", ""},
+ {SPACE_BUTS, "PROPERTIES", ICON_BUTS, "Properties", ""},
+ {0, "", ICON_NONE, NULL, NULL },
+ {0, "", ICON_NONE, NULL, NULL },
+
+ /* Animation Tools ... */
{SPACE_IPO, "GRAPH_EDITOR", ICON_IPO, "Graph Editor", ""},
{SPACE_ACTION, "DOPESHEET_EDITOR", ICON_ACTION, "Dope Sheet", ""},
- {SPACE_NLA, "NLA_EDITOR", ICON_NLA, "NLA Editor", ""},
- {0, "", ICON_NONE, NULL, NULL},
- {SPACE_IMAGE, "IMAGE_EDITOR", ICON_IMAGE_COL, "UV/Image Editor", ""},
- {SPACE_SEQ, "SEQUENCE_EDITOR", ICON_SEQUENCE, "Video Sequence Editor", ""},
- {SPACE_CLIP, "CLIP_EDITOR", ICON_CLIP, "Movie Clip Editor", ""},
- {SPACE_TEXT, "TEXT_EDITOR", ICON_TEXT, "Text Editor", ""},
- {SPACE_NODE, "NODE_EDITOR", ICON_NODETREE, "Node Editor", ""},
- {SPACE_LOGIC, "LOGIC_EDITOR", ICON_LOGIC, "Logic Editor", ""},
- {0, "", ICON_NONE, NULL, NULL},
- {SPACE_BUTS, "PROPERTIES", ICON_BUTS, "Properties", ""},
- {SPACE_OUTLINER, "OUTLINER", ICON_OOPS, "Outliner", ""},
+ {SPACE_NLA, "NLA_EDITOR", ICON_NLA, "NLA Editor", ""},
+ {SPACE_TIME, "TIMELINE", ICON_TIME, "Timeline", ""},
+
+ /* Scripting - Script 3d objects, the UI, and the BGE. */
+ {0, "", ICON_NONE, " ", "" },
+ {SPACE_TEXT, "TEXT_EDITOR", ICON_TEXT, "Text Editor", ""},
+ {SPACE_CONSOLE, "CONSOLE", ICON_CONSOLE, "Python Console", ""},
+ {SPACE_LOGIC, "LOGIC_EDITOR", ICON_LOGIC, "Game Logic", ""},
+ {0, "", ICON_NONE, NULL, NULL },
+ {0, "", ICON_NONE, NULL, NULL },
+
+ /* Misc / Other */
+ {SPACE_INFO, "INFO", ICON_INFO, "Info", ""},
+ {SPACE_FILE, "FILE_BROWSER", ICON_FILESEL, "File Browser", ""},
{SPACE_USERPREF, "USER_PREFERENCES", ICON_PREFERENCES, "User Preferences", ""},
- {SPACE_INFO, "INFO", ICON_INFO, "Info", ""},
- {0, "", ICON_NONE, NULL, NULL},
- {SPACE_FILE, "FILE_BROWSER", ICON_FILESEL, "File Browser", ""},
- {0, "", ICON_NONE, NULL, NULL},
- {SPACE_CONSOLE, "CONSOLE", ICON_CONSOLE, "Python Console", ""},
- {0, NULL, 0, NULL, NULL}
+
+ {0, NULL, 0, NULL, NULL} /* end */
};
static EnumPropertyItem draw_channels_items[] = {

Event Timeline