Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-03-22 18:41:52 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-03-22 18:41:52 +0400
commit6e777ded995392813085ee257a3c08772acb3240 (patch)
tree2912d25ae15bec02873704e3ab87ab43a4c297e7 /source/blender/makesrna/intern/rna_userdef.c
parent9379dcb5077c5c0a6a29cb2554976951aeaaedc2 (diff)
Increase hard limit for prefetch frames to INT_MAX
Don't see why it could give issues to use large number of frames to be prefetched, but just in case make it unlimited hard limit and kept soft limit still at 500.
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 95d570dc684..a748132e4ce 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -3430,7 +3430,8 @@ static void rna_def_userdef_system(BlenderRNA *brna)
prop = RNA_def_property(srna, "prefetch_frames", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "prefetchframes");
- RNA_def_property_range(prop, 0, 500);
+ RNA_def_property_range(prop, 0, INT_MAX);
+ RNA_def_property_ui_range(prop, 0, 500, 1, 0);
RNA_def_property_ui_text(prop, "Prefetch Frames", "Number of frames to render ahead during playback (sequencer only)");
prop = RNA_def_property(srna, "memory_cache_limit", PROP_INT, PROP_NONE);