diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-09-18 15:32:21 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-09-18 15:32:21 +0300 |
commit | cac756a92aaec5ccc8ddb95c021dcf79d12cc588 (patch) | |
tree | 256378022a995491400e284faeeb5c63d66bf031 /source/blender/makesdna | |
parent | 95373e274908615df2e5dbf6243b055ff2c39518 (diff) |
UI: Move render display type to Preferences
Moves the render display type (to choose between rendering in a new
window, in a fullscreen area, in an Image Editor, etc) from the scene to
the preferences.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 86c2b2f09a8..22da2a86054 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -814,7 +814,8 @@ typedef struct UserDef { char viewport_aa; - char _pad5[6]; + char render_display_type; /* eUserpref_RenderDisplayType */ + char _pad5[5]; struct WalkNavigation walk_navigation; @@ -1202,6 +1203,13 @@ typedef enum eUserpref_FactorDisplay { USER_FACTOR_AS_PERCENTAGE = 1, } eUserpref_FactorDisplay; +typedef enum eUserpref_RenderDisplayType { + USER_RENDER_DISPLAY_NONE = 0, + USER_RENDER_DISPLAY_SCREEN = 1, + USER_RENDER_DISPLAY_AREA = 2, + USER_RENDER_DISPLAY_WINDOW = 3 +} eUserpref_RenderDisplayType; + typedef enum eUserpref_TempSpaceDisplayType { USER_TEMP_SPACE_DISPLAY_FULLSCREEN, USER_TEMP_SPACE_DISPLAY_WINDOW, |