diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-03-16 19:59:30 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-03-16 20:50:32 +0300 |
commit | 91561629cd0bd622c9d1722701ab88c9e77be660 (patch) | |
tree | 30a312001766759166fa8fa25e18334d917500f3 /source/blender/makesrna/intern/rna_space.c | |
parent | 0449da54602b2e9a1ea58d336f190c3919f3f27a (diff) |
VSE: Simplify proxy settings
- Remove Full Render size from VSE preview size. Use just 100% instead.
- Add Use Proxies checkbox to control whether proxies are used globally
- Move preview size to top so it is most prominent
- Set default to 100% preview size and use proxies
Reviewed By: sergey, fsiddi
Differential Revision: https://developer.blender.org/D10362
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 63600571c0d..39e6c632b21 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -5170,12 +5170,11 @@ static void rna_def_space_sequencer(BlenderRNA *brna) static const EnumPropertyItem proxy_render_size_items[] = { {SEQ_RENDER_SIZE_NONE, "NONE", 0, "No display", ""}, - {SEQ_RENDER_SIZE_SCENE, "SCENE", 0, "Scene render size", ""}, - {SEQ_RENDER_SIZE_PROXY_25, "PROXY_25", 0, "Proxy size 25%", ""}, - {SEQ_RENDER_SIZE_PROXY_50, "PROXY_50", 0, "Proxy size 50%", ""}, - {SEQ_RENDER_SIZE_PROXY_75, "PROXY_75", 0, "Proxy size 75%", ""}, - {SEQ_RENDER_SIZE_PROXY_100, "PROXY_100", 0, "Proxy size 100%", ""}, - {SEQ_RENDER_SIZE_FULL, "FULL", 0, "No proxy, full render", ""}, + {SEQ_RENDER_SIZE_SCENE, "SCENE", 0, "Scene size", ""}, + {SEQ_RENDER_SIZE_PROXY_25, "PROXY_25", 0, "25%", ""}, + {SEQ_RENDER_SIZE_PROXY_50, "PROXY_50", 0, "50%", ""}, + {SEQ_RENDER_SIZE_PROXY_75, "PROXY_75", 0, "75%", ""}, + {SEQ_RENDER_SIZE_PROXY_100, "PROXY_100", 0, "100%", ""}, {0, NULL, 0, NULL, NULL}, }; @@ -5326,11 +5325,15 @@ static void rna_def_space_sequencer(BlenderRNA *brna) prop = RNA_def_property(srna, "proxy_render_size", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "render_size"); RNA_def_property_enum_items(prop, proxy_render_size_items); - RNA_def_property_ui_text(prop, - "Proxy Render Size", - "Display preview using full resolution or different proxy resolutions"); + RNA_def_property_ui_text(prop, "Preview Size", ""); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, "rna_SequenceEditor_update_cache"); + prop = RNA_def_property(srna, "use_proxies", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_USE_PROXIES); + RNA_def_property_ui_text( + prop, "Use Proxies", "Use optimized files for faster scrubbing when available"); + RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); + /* grease pencil */ prop = RNA_def_property(srna, "grease_pencil", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "gpd"); |