diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-16 20:49:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-17 13:44:33 +0300 |
commit | ad707115d5bcb61a2773a5b4c697d6f66c469105 (patch) | |
tree | 64202a58aa16db3dad5348bd149102cea5df9235 /source/blender/makesdna/DNA_userdef_types.h | |
parent | 4f9bcd6166db394115f8ad4341497d40973fd2ce (diff) |
Preferences: add new Viewport, Animation, Navigation, Save & Load sections.
This further changes the preferences organization, to avoid grouping unrelated
settings together. With more sections we can also expand more panels by default,
making it possible to quickly go through sections and see the settings of each.
Panels with less used settings are still collapsed by default, to keep all panel
headers visible without scrolling.
Differential Revision: https://developer.blender.org/D4216
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index f2716677593..da9aa3f4343 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -784,14 +784,13 @@ extern UserDef U; /* Toggles for unfinished 2.8 UserPref design. */ //#define WITH_USERDEF_WORKSPACES -//#define WITH_USERDEF_SYSTEM_SPLIT /* UserDef.userpref (UI active_section) */ typedef enum eUserPref_Section { USER_SECTION_INTERFACE = 0, - USER_SECTION_EDIT = 1, - USER_SECTION_SYSTEM_FILES = 2, - USER_SECTION_SYSTEM_GENERAL = 3, + USER_SECTION_EDITING = 1, + USER_SECTION_SAVE_LOAD = 2, + USER_SECTION_SYSTEM = 3, USER_SECTION_THEME = 4, USER_SECTION_INPUT = 5, USER_SECTION_ADDONS = 6, @@ -802,10 +801,10 @@ typedef enum eUserPref_Section { USER_SECTION_WORKSPACE_ADDONS = 10, USER_SECTION_WORKSPACE_KEYMAPS = 11, #endif -#ifdef WITH_USERDEF_SYSTEM_SPLIT - USER_SECTION_SYSTEM_DISPLAY = 12, - USER_SECTION_SYSTEM_DEVICES = 13, -#endif + USER_SECTION_VIEWPORT = 12, + USER_SECTION_ANIMATION = 13, + USER_SECTION_NAVIGATION = 14, + USER_SECTION_FILE_PATHS = 15, } eUserPref_Section; /* UserDef.userpref_flag (State of the user preferences UI). */ |