[Bf-blender-cvs] [80b4413] master: Fix T42326 trim operator not cancelled by the escape key.

Antony Riakiotakis noreply at git.blender.org
Tue Oct 21 11:04:13 CEST 2014


Commit: 80b44133fc712584e8590433993051d2381ea568
Author: Antony Riakiotakis
Date:   Tue Oct 21 11:03:46 2014 +0200
Branches: master
https://developer.blender.org/rB80b44133fc712584e8590433993051d2381ea568

Fix T42326 trim operator not cancelled by the escape key.

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

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 af70ba3..5cb21ea 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1508,6 +1508,8 @@ static int sequencer_trim_modal(bContext *C, wmOperator *op, const wmEvent *even
 			WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
 			return OPERATOR_FINISHED;
 		}
+
+		case ESCKEY:
 		case RIGHTMOUSE:
 		{
 			int i;




More information about the Bf-blender-cvs mailing list