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
This commit is contained in:
parent
2a692e05c8
commit
2299f6b5a7
Notes:
blender-bot
2023-02-14 08:24:03 +01:00
Referenced by issue #77049, VSE Image cache is not refreshed when strip are muted/unmuted in metastrip
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue