From ad707115d5bcb61a2773a5b4c697d6f66c469105 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 16 Jan 2019 18:49:31 +0100 Subject: 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 --- source/blender/makesdna/DNA_userdef_types.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'source/blender/makesdna/DNA_userdef_types.h') 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). */ -- cgit v1.2.3