Fix T97254: VSE channel mute does mute sound

Add missing RNA update function
This commit is contained in:
Richard Antalik
2022-04-21 00:33:26 +02:00
parent 3cef9ebaf8
commit 2bd9cbe405

View File

@@ -2169,11 +2169,12 @@ static void rna_def_channel(BlenderRNA *brna)
prop = RNA_def_property(srna, "lock", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_CHANNEL_LOCK);
RNA_def_property_ui_text(prop, "Lock channel", "");
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, NULL);
prop = RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_CHANNEL_MUTE);
RNA_def_property_ui_text(prop, "Mute channel", "");
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, NULL);
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_sound_update");
}
static void rna_def_editor(BlenderRNA *brna)