[Bf-blender-cvs] [2bd9cbe4053] master: Fix T97254: VSE channel mute does mute sound

Richard Antalik noreply at git.blender.org
Thu Apr 21 02:01:44 CEST 2022


Commit: 2bd9cbe40532143bcc520d2ec55e5ff4f4eceebb
Author: Richard Antalik
Date:   Thu Apr 21 00:33:26 2022 +0200
Branches: master
https://developer.blender.org/rB2bd9cbe40532143bcc520d2ec55e5ff4f4eceebb

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