[Bf-blender-cvs] [21e1414] terrible_consequencer: Fix cancelling trim not refreshing the view
Antony Riakiotakis
noreply at git.blender.org
Thu Sep 4 19:50:38 CEST 2014
Commit: 21e141406f6b94a3aaaf1fe30f0bf31ae8eb01c1
Author: Antony Riakiotakis
Date: Thu Sep 4 17:43:55 2014 +0200
Branches: terrible_consequencer
https://developer.blender.org/rB21e141406f6b94a3aaaf1fe30f0bf31ae8eb01c1
Fix cancelling trim not refreshing the view
===================================================================
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 ca34866..223bada 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1867,6 +1867,8 @@ static int sequencer_trim_modal(bContext *C, wmOperator *op, const wmEvent *even
}
case RIGHTMOUSE:
{
+ Editing *ed = BKE_sequencer_editing_get(scene, false);
+
seq->start = data->ts.start;
seq->machine = data->ts.machine;
seq->startstill = data->ts.startstill;
@@ -1886,7 +1888,9 @@ static int sequencer_trim_modal(bContext *C, wmOperator *op, const wmEvent *even
op->customdata = NULL;
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
-
+
+ BKE_sequencer_free_imbuf(scene, &ed->seqbase, false);
+
if (sa) {
ED_area_headerprint(sa, NULL);
}
More information about the Bf-blender-cvs
mailing list