Blender Git Loki
Git Commits -> Revision 5f77266
Revision 5f77266 by Bastien Montagne (master) June 27, 2016, 10:26 (GMT) |
Fix T48741: File browser back button doesn't work from inside Blend (library) file. Problem was in fact slightly wider, File space was nearly not taking into account library navigation case and its 'virtual' directoris, except in a few places. Add a wrapper around BLI_is_dir that also check for lib paths, and used it in ED_file_change_dir(), such that we now always check path is a valid directory - in the filebrowser context, not filesytem context. ;) |
Commit Details:
Full Hash: 5f77266baf20c68befcd2dcffeed67b665f8ccc5
Parent Commit: 4a641e3
Lines Changed: +74, -59
7 Modified Paths:
/source/blender/editors/include/ED_fileselect.h (+1, -1) (Diff)
/source/blender/editors/space_file/filesel.c (+2, -2) (Diff)
/source/blender/editors/space_file/file_intern.h (+1, -0) (Diff)
/source/blender/editors/space_file/file_ops.c (+51, -54) (Diff)
/source/blender/editors/space_file/file_utils.c (+17, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -1) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -1) (Diff)
/source/blender/editors/space_file/filesel.c (+2, -2) (Diff)
/source/blender/editors/space_file/file_intern.h (+1, -0) (Diff)
/source/blender/editors/space_file/file_ops.c (+51, -54) (Diff)
/source/blender/editors/space_file/file_utils.c (+17, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -1) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -1) (Diff)