[Bf-blender-cvs] [3274dbc] master: Sequencer: Alt-RMB select handle now always selects strip

Campbell Barton noreply at git.blender.org
Wed Mar 16 14:30:12 CET 2016


Commit: 3274dbceb1d66be668a4be3a974a43a61b4ea3c0
Author: Campbell Barton
Date:   Thu Mar 17 00:26:50 2016 +1100
Branches: master
https://developer.blender.org/rB3274dbceb1d66be668a4be3a974a43a61b4ea3c0

Sequencer: Alt-RMB select handle now always selects strip

Was possible to do Alt-RMB on a strips handle - which only make the strip active (but didn't select).
This isn't really useful, so just select the strip and its handles in this case.

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

M	source/blender/editors/space_sequencer/sequencer_select.c

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

diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c
index 3dff244..3c2a66c 100644
--- a/source/blender/editors/space_sequencer/sequencer_select.c
+++ b/source/blender/editors/space_sequencer/sequencer_select.c
@@ -437,7 +437,10 @@ static int sequencer_select_invoke(bContext *C, wmOperator *op, const wmEvent *e
 					seq->flag |= is_striponly_selected ? SEQ_ALLSEL : SELECT;
 					select_surrounding_handles(scene, seq);
 				}
-				else if (seq->flag & SELECT) {
+				else {
+					/* always select the strip under the cursor */
+					seq->flag |= SELECT;
+
 					/* First click selects adjacent handles on that side.
 					 * Second click selects all strips in that direction.
 					 * If there are no adjacent strips, it just selects all in that direction.




More information about the Bf-blender-cvs mailing list