BLI_split_dirfile was being used in cases it should not have been,
[blender.git] / source / blender / blenkernel / intern / pointcache.c
index 8407dd2b7c3798169e710af58759f9c96f4eb664..fdaeedf7e385a0314928ad553c7de39b3b4047a7 100644 (file)
@@ -177,7 +177,7 @@ static int ptcache_path(PTCacheID *pid, char *filename)
 
                blendfilename= (lib)? lib->filename: G.sce;
 
-               BLI_split_dirfile(blendfilename, dir, file);
+               BLI_split_dirfile_basic(blendfilename, NULL, file);
                i = strlen(file);
                
                /* remove .blend */