Blender Git Commit Log

Git Commits -> Revision 5325f3b

Revision 5325f3b by Andrea Weikert (master)
March 20, 2011, 10:22 (GMT)
== file browser ==
Patch from Alexander Kuznetsov: Toggle selection rather than just extending.

Implements behaviour that unintendedly was available with previously using macro operator for selection. This was removed and now the functionality is properly implemented.

Patch accepted with minor changes:
1. Used enum rather than #defines and added value for removing from selection (deselect)
2. Moved if (select) outside file_select_do and improved check for whether last file in selection is actually selected. (Necessary since toggle can deselect and toggle select should still make file active)
3. Additionally fixed check in file_select_invoke to be consistent with border select.

Commit Details:

Full Hash: 5325f3b2e989a3b94e2d9450c574e4610d2005d8
SVN Revision: 35640
Parent Commit: 5442e72
Lines Changed: +34, -15

3 Modified Paths:

/source/blender/editors/space_file/filelist.c (+12, -5) (Diff)
/source/blender/editors/space_file/filelist.h (+6, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+16, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021