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);
                        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to