[Bf-blender-cvs] [0b983169dac] master: Fix T70626: VSE: Slip Strip Operator doesn't refresh audio on confirm

Philipp Oeser noreply at git.blender.org
Tue Oct 8 14:18:44 CEST 2019


Commit: 0b983169dacf7fc4dc5b4daa3f744b9d9fc1dc25
Author: Philipp Oeser
Date:   Tue Oct 8 09:46:37 2019 +0200
Branches: master
https://developer.blender.org/rB0b983169dacf7fc4dc5b4daa3f744b9d9fc1dc25

Fix T70626: VSE: Slip Strip Operator doesn't refresh audio on confirm

Maniphest Tasks: T70626

Reviewed By: ISS, sergey

Differential Revision: https://developer.blender.org/D6016

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

M	source/blender/editors/space_sequencer/sequencer_edit.c

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

diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 9d7163cd6d9..865dfb45278 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1600,6 +1600,7 @@ static int sequencer_slip_exec(bContext *C, wmOperator *op)
 
   if (success) {
     WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
+    DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
     return OPERATOR_FINISHED;
   }
   else {
@@ -1693,6 +1694,7 @@ static int sequencer_slip_modal(bContext *C, wmOperator *op, const wmEvent *even
       if (sa) {
         ED_area_status_text(sa, NULL);
       }
+      DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
       WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
       return OPERATOR_FINISHED;
     }



More information about the Bf-blender-cvs mailing list