[Bf-blender-cvs] [2299f6b5a7e] blender-v2.83-release: Fix T77049: VSE Image cache is not refreshed when strip are muted/ unmuted in metastrip
Philipp Oeser
noreply at git.blender.org
Tue May 26 14:52:44 CEST 2020
Commit: 2299f6b5a7e376d9d554c080751fc3ba415303f9
Author: Philipp Oeser
Date: Mon May 25 12:37:53 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB2299f6b5a7e376d9d554c080751fc3ba415303f9
Fix T77049: VSE Image cache is not refreshed when strip are muted/
unmuted in metastrip
Maniphest Tasks: T77049
Differential Revision: https://developer.blender.org/D7834
===================================================================
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 d218084fc66..5fe3cf5be1f 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -874,13 +874,6 @@ static void rna_Sequence_reopen_files_update(Main *bmain, Scene *UNUSED(scene),
}
}
-static void rna_Sequence_mute_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr)
-{
- Scene *scene = (Scene *)ptr->owner_id;
-
- DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
-}
-
static void rna_Sequence_filepath_update(Main *bmain, Scene *UNUSED(scene), PointerRNA *ptr)
{
Scene *scene = (Scene *)ptr->owner_id;
@@ -1690,7 +1683,7 @@ static void rna_def_sequence(BlenderRNA *brna)
RNA_def_property_ui_icon(prop, ICON_CHECKBOX_HLT, -1);
RNA_def_property_ui_text(
prop, "Mute", "Disable strip so that it cannot be viewed in the output");
- RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_mute_update");
+ RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update");
prop = RNA_def_property(srna, "lock", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_LOCK);
More information about the Bf-blender-cvs
mailing list