Blender Git Commit Log
Git Commits -> Revision cfd5046
Revision cfd5046 by Dalai Felinto (master) July 7, 2009, 07:25 (GMT) |
2.5 filebrowser: previous/next + bugfix + elubie's changes and cleanup * Previous/Next Folder browser * bugfix: "open most recently opened directory". * Previous and Next functionalities: - use BACKSPACE to navigate to previous folders - use SHIFT+BACKSPACE to navigate forward - once you change the folder by other ways the forward folder list is cleared * bug fix: the sfile->params->dir set through ED_fileselect_set_params wasn't correct. According to the code taking the settings from the existing (previous) filebrowser is a temp solution. In that case this is a fix for a temp solution :) (changes in: wm_event_system.c, filesel.c and ED_fileselect.h) ** Andrea(elubie): we can get away of the folderlist_clear_next test if we manually pass a boolean to file_change_dir (e.g. file_change_dir(sfile, true)). I tried not to mess up with your changes here. It's slightly slower (and maybe hacky) but its's more conservative IMHO. (my first commit to 2.5 ... that was a good reason to put my paper on hold :p) |
Commit Details:
Full Hash: cfd5046c9e4a6617a20cfc7e59519a84d3c18b9d
SVN Revision: 21400
Parent Commit: 7963305
Lines Changed: +238, -39
11 Modified Paths:
/release/ui/space_filebrowser.py (+4, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -5) (Diff)
/source/blender/editors/include/ED_fileselect.h (+1, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+87, -1) (Diff)
/source/blender/editors/space_file/filelist.h (+6, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+29, -9) (Diff)
/source/blender/editors/space_file/file_intern.h (+5, -0) (Diff)
/source/blender/editors/space_file/file_ops.c (+71, -14) (Diff)
/source/blender/editors/space_file/space_file.c (+26, -4) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -5) (Diff)
/source/blender/editors/include/ED_fileselect.h (+1, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+87, -1) (Diff)
/source/blender/editors/space_file/filelist.h (+6, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+29, -9) (Diff)
/source/blender/editors/space_file/file_intern.h (+5, -0) (Diff)
/source/blender/editors/space_file/file_ops.c (+71, -14) (Diff)
/source/blender/editors/space_file/space_file.c (+26, -4) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -3) (Diff)