diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-26 07:39:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-26 07:39:29 +0300 |
commit | e060c90ebc733cfca221a2d6487137ff612d9c37 (patch) | |
tree | 2390a5179791983f257303fbee521b9bb99295c3 /source/blender/blenloader | |
parent | 6483575b35abcca1360a1110210bf19047dd5d2e (diff) |
Fix assert navigating into dir w/ `.blend` suffix
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 482be573a4e..8851edf4e35 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -1344,7 +1344,7 @@ bool BLO_library_path_explode(const char *path, char *r_dir, char **r_group, cha while ((slash = (char *)BLI_last_slash(r_dir))) { char tc = *slash; *slash = '\0'; - if (BLO_has_bfile_extension(r_dir)) { + if (BLO_has_bfile_extension(r_dir) && BLI_is_file(r_dir)) { break; } |