diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-25 20:32:30 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-25 20:36:51 +0300 |
commit | a879dd368cec3d55875c2acfb8bd2c6d8f6f5727 (patch) | |
tree | 202fca59662c6d57158f21f4b84229e2e2ce154c /source/blender/editors/space_file | |
parent | 7dc75ea8f4ab90bdb67aa37f285893c92e445784 (diff) |
FileBrowser: Fix broken 'extend' behavior of walk select mode.
Glitch when I merged new walk code in asset-experiments most likely...
Thanks to Dalai (dfelinto) who notified that on IRC.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 7736a814efe..7f5e6b93cfb 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -491,13 +491,13 @@ static bool file_walk_select_selection_set( if (has_selection) { if (extend && - filelist_entry_select_index_get(files, active_old, FILE_SEL_SELECTED) && - filelist_entry_select_index_get(files, active_new, FILE_SEL_SELECTED)) + filelist_entry_select_index_get(files, active_old, CHECK_ALL) && + filelist_entry_select_index_get(files, active_new, CHECK_ALL)) { /* conditions for deselecting: initial file is selected, new file is * selected and either other_side isn't selected/found or we use fill */ deselect = (fill || other_site == -1 || - !filelist_entry_select_index_get(files, other_site, FILE_SEL_SELECTED)); + !filelist_entry_select_index_get(files, other_site, CHECK_ALL)); /* don't change highlight_file here since we either want to deselect active or we want to * walk through a block of selected files without selecting/deselecting anything */ |