diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-06 12:58:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-06 12:58:08 +0400 |
commit | 14393c9ffbe67eb41281fcc50f8a0ff44e4fe0fc (patch) | |
tree | 49ba7cc2162581c26ea6d27df57b69f598e37147 /source/blender/blenlib | |
parent | 6ffadbfb103f498b7400ae6d7d960c98404a9bdc (diff) |
bugfix - Blender.GetPaths() was returning relative paths from libraries, but with no way to access the library path the the file is relative too. Check for these cases and make them absolute.
bpath also assigned one var it didnt need to.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/bpath.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c index 79d3e487712..898ad6ddd67 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -456,13 +456,10 @@ void checkMissingFiles( char *txtname ) { /* be sure there is low chance of the path being too short */ char filepath_expanded[FILE_MAXDIR*2]; - char *libpath; int files_missing = 0; BLI_bpathIterator_init(&bpi); while (!BLI_bpathIterator_isDone(&bpi)) { - libpath = BLI_bpathIterator_getLib(&bpi); - BLI_bpathIterator_getPathExpanded( &bpi, filepath_expanded ); if (!BLI_exists(filepath_expanded)) { |