Blender Git Loki

Git Commits -> Revision 197653e

Revision 197653e by Julian Eisel (master)
September 3, 2019, 21:15 (GMT)
Fix selecting multiple files ignoring first file

E.g. box selecting wouldn't allow selecting the first file.
Work selection and shift/ctrl selection had similar issues.

Code assumed that the first item was the '..' parent item and manually
removed it from the selection. I could just remove this special
handling, but instead I made the behavior more dynamic. So the file list
checks if the '..' item is there and only then applies special
treatment.
That way we can easily bring the '..' item back or make it optional if
wanted.

Commit Details:

Full Hash: 197653e08749b8fd3a5cbec212438df391b8b41c
Parent Commit: 5ba0ce8
Lines Changed: +28, -11

3 Modified Paths:

/source/blender/editors/space_file/filelist.c (+13, -0) (Diff)
/source/blender/editors/space_file/filelist.h (+4, -0) (Diff)
/source/blender/editors/space_file/file_ops.c (+11, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021