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:
authorRichard Antalik <richardantalik@gmail.com>2020-12-20 05:58:38 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-12-20 05:58:38 +0300
commit38b77ef8b22173835b3bc80efc218c3e05b9e37d (patch)
tree3575ab870d073a08a630d1c13b4df5548de3f9ea /source/blender/makesrna/intern/rna_sequencer.c
parentc4ff91aab76a9987ec109a733d39ff800ccbd15b (diff)
VSE: Remove cost calculation from cache
This value was meant to be used for keeping images that are slowest to render in cache. Method of measurement was flawed, because it doesn't take UI overhead into consideration. Cache panel is to be removed because users should not have to tweak settings like this. It is not useful for development either, therefore it is removed completely.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 4ab32d54665..eed976c8df1 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -2101,13 +2101,6 @@ static void rna_def_editor(BlenderRNA *brna)
"Prefetch Frames",
"Render frames ahead of current frame in the background for faster playback");
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, NULL);
-
- prop = RNA_def_property(srna, "recycle_max_cost", PROP_FLOAT, PROP_NONE);
- RNA_def_property_range(prop, 0.0f, SEQ_CACHE_COST_MAX);
- RNA_def_property_ui_range(prop, 0.0f, SEQ_CACHE_COST_MAX, 0.1f, 1);
- RNA_def_property_float_sdna(prop, NULL, "recycle_max_cost");
- RNA_def_property_ui_text(
- prop, "Recycle Up to Cost", "Only frames with cost lower than this value will be recycled");
}
static void rna_def_filter_video(StructRNA *srna)