Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-11-14 17:04:52 +0300
committerAntony Riakiotakis <kalast@gmail.com>2014-11-14 17:05:07 +0300
commit5a893d09d27dc79f6f6efa6f7a92d2590cca77cc (patch)
tree41c43bf168e473060e6a08d273d90b4096641d3d
parent22754cf68737986b81977acc0ab4368aaca1ff15 (diff)
Add missing notifiers for slip operator
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 92e0b8ba54c..4ad521993be 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1449,8 +1449,13 @@ static int sequencer_slip_exec(bContext *C, wmOperator *op)
MEM_freeN(data->ts);
MEM_freeN(data);
- if (success) return OPERATOR_FINISHED;
- else return OPERATOR_CANCELLED;
+ if (success) {
+ WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
+ return OPERATOR_FINISHED;
+ }
+ else {
+ return OPERATOR_CANCELLED;
+ }
}
static int sequencer_slip_modal(bContext *C, wmOperator *op, const wmEvent *event)