[Bf-blender-cvs] [1912c3e1512] draw-deferred-compilation-experiment: Fix T97254: VSE channel mute does mute sound

Richard Antalik noreply at git.blender.org
Thu Apr 21 11:14:14 CEST 2022


Commit: 1912c3e1512b6987a87c1f99486790ff07b72737
Author: Richard Antalik
Date:   Thu Apr 21 00:33:26 2022 +0200
Branches: draw-deferred-compilation-experiment
https://developer.blender.org/rB1912c3e1512b6987a87c1f99486790ff07b72737

Fix T97254: VSE channel mute does mute sound

Add missing RNA update function

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

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 a27e699ef3d..3fd87a16d28 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -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)



More information about the Bf-blender-cvs mailing list