[Bf-blender-cvs] [cb7b4064d6c] master: VSE: Fix cache invalidation

Richard Antalik noreply at git.blender.org
Tue Aug 10 01:30:19 CEST 2021


Commit: cb7b4064d6c7baba7269df94329422e307aa3880
Author: Richard Antalik
Date:   Tue Aug 10 01:24:06 2021 +0200
Branches: master
https://developer.blender.org/rBcb7b4064d6c7baba7269df94329422e307aa3880

VSE: Fix cache invalidation

Blend mode replace is done in preprocessing stage, but property update
function invalidated composite cache.

===================================================================

M	source/blender/makesrna/intern/rna_sequencer.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 74fe2a26505..e7f074efb01 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -1900,7 +1900,7 @@ static void rna_def_sequence(BlenderRNA *brna)
   /* stupid 0-100 -> 0-1 */
   RNA_def_property_float_funcs(prop, "rna_Sequence_opacity_get", "rna_Sequence_opacity_set", NULL);
   RNA_def_property_update(
-      prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_composite_update");
+      prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_preprocessed_update");
 
   prop = RNA_def_property(srna, "effect_fader", PROP_FLOAT, PROP_FACTOR);
   RNA_def_property_range(prop, 0.0f, 1.0f);



More information about the Bf-blender-cvs mailing list