diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-11-14 17:04:52 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-11-14 17:05:07 +0300 |
commit | 5a893d09d27dc79f6f6efa6f7a92d2590cca77cc (patch) | |
tree | 41c43bf168e473060e6a08d273d90b4096641d3d /source/blender/editors/space_sequencer | |
parent | 22754cf68737986b81977acc0ab4368aaca1ff15 (diff) |
Add missing notifiers for slip operator
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 9 |
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) |