make the file and image selector convert relative paths.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 14 Feb 2008 10:18:18 +0000 (10:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 14 Feb 2008 10:18:18 +0000 (10:18 +0000)
source/blender/src/editimasel.c
source/blender/src/filesel.c

index ed630af20885dd5110939eebc5fcdde7499d9e66..728588c43d45eb6032b9e4b94948c08878e727eb 100644 (file)
@@ -171,6 +171,8 @@ static void activate_imageselect_(int type, char *title, char *file, short *menu
 
        name[2]= 0;
        BLI_strncpy(name, file, sizeof(name));
+       BLI_convertstringcode(name, G.sce, G.scene->r.cfra);
+       
        
        simasel= curarea->spacedata.first;
 
index 8a9b5b4d2b826e77bd327b589f45758c915cef7c..f2ed272861736b2865f92e2d01555064ff6ef84f 100644 (file)
@@ -1172,6 +1172,7 @@ static void activate_fileselect_(int type, char *title, char *file, short *menup
 
        name[2]= 0;
        BLI_strncpy(name, file, sizeof(name));
+       BLI_convertstringcode(name, G.sce, G.scene->r.cfra);
        
        sfile= curarea->spacedata.first;