diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index e07d46dbe3e..648b429acf6 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -5378,6 +5378,16 @@ static void rna_def_userdef_system(BlenderRNA *brna) {0, NULL, 0, NULL, NULL}, }; + static const EnumPropertyItem seq_proxy_setup_options[] = { + {USER_SEQ_PROXY_SETUP_MANUAL, "MANUAL", 0, "Manual", "Set up proxies manually"}, + {USER_SEQ_PROXY_SETUP_AUTOMATIC, + "AUTOMATIC", + 0, + "Automatic", + "Build proxies for added movie and image strips in each preview size"}, + {0, NULL, 0, NULL, NULL}, + }; + srna = RNA_def_struct(brna, "PreferencesSystem", NULL); RNA_def_struct_sdna(srna, "UserDef"); RNA_def_struct_nested(brna, srna, "Preferences"); @@ -5445,6 +5455,13 @@ static void rna_def_userdef_system(BlenderRNA *brna) "Disk Cache Compression Level", "Smaller compression will result in larger files, but less decoding overhead"); + /* Sequencer proxy setup */ + + prop = RNA_def_property(srna, "sequencer_proxy_setup", PROP_ENUM, PROP_NONE); + RNA_def_property_enum_items(prop, seq_proxy_setup_options); + RNA_def_property_enum_sdna(prop, NULL, "sequencer_proxy_setup"); + RNA_def_property_ui_text(prop, "Proxy setup", "When and how proxies are created"); + prop = RNA_def_property(srna, "scrollback", PROP_INT, PROP_UNSIGNED); RNA_def_property_int_sdna(prop, NULL, "scrollback"); RNA_def_property_range(prop, 32, 32768); |