user pref to make relative paths an option you can save (peachers need to be strict...
[blender.git] / source / blender / src / filesel.c
index d6bbedec2b320f141313b3930bdae12d162f72c7..33f0fe5788e37af5eda71e452413201de9b6f417 100644 (file)
@@ -1192,7 +1192,7 @@ static void activate_fileselect_(int type, char *title, char *file, short *menup
        /* sfile->act is used for databrowse: double names of library objects */
        sfile->act= -1;
 
-       if(G.relbase_valid && BLI_convertstringcode(name, G.sce, G.scene->r.cfra))
+       if(G.relbase_valid && U.flag & USER_RELPATHS)
                sfile->flag |= FILE_STRINGCODE;
        else
                sfile->flag &= ~FILE_STRINGCODE;