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/makesrna/intern/rna_scene.c | |
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/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 1cf4a33c5c9..d82fd64b193 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -5509,22 +5509,6 @@ static void rna_def_scene_render_data(BlenderRNA *brna) StructRNA *srna; PropertyRNA *prop; - static const EnumPropertyItem display_mode_items[] = { - {R_OUTPUT_SCREEN, - "SCREEN", - 0, - "Full Screen", - "Images are rendered in a maximized Image Editor"}, - {R_OUTPUT_AREA, "AREA", 0, "Image Editor", "Images are rendered in an Image Editor"}, - {R_OUTPUT_WINDOW, "WINDOW", 0, "New Window", "Images are rendered in a new window"}, - {R_OUTPUT_NONE, - "NONE", - 0, - "Keep User Interface", - "Images are rendered without changing the user interface"}, - {0, NULL, 0, NULL, NULL}, - }; - /* Bake */ static const EnumPropertyItem bake_mode_items[] = { //{RE_BAKE_AO, "AO", 0, "Ambient Occlusion", "Bake ambient occlusion"}, @@ -5921,13 +5905,6 @@ static void rna_def_scene_render_data(BlenderRNA *brna) "(this solves anti-aliasing issues with compositing)"); RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); - prop = RNA_def_property(srna, "display_mode", PROP_ENUM, PROP_NONE); - RNA_def_property_enum_bitflag_sdna(prop, NULL, "displaymode"); - RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - RNA_def_property_enum_items(prop, display_mode_items); - RNA_def_property_ui_text(prop, "Display", "Select where rendered images will be displayed"); - RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); - prop = RNA_def_property(srna, "use_lock_interface", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "use_lock_interface", 1); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); |