don't write file history in backgound mode (running ctest would overwrite all my recent-files.txt), and add an error about mingw/quicktime being unsupported.

This commit is contained in:
2011-06-08 01:53:12 +00:00
parent 7fd1fe9fc8
commit 42ece56e91
2 changed files with 13 additions and 1 deletions

View File

@@ -747,7 +747,10 @@ int WM_write_file(bContext *C, const char *target, int fileflags, ReportList *re
if(fileflags & G_FILE_AUTOPLAY) G.fileflags |= G_FILE_AUTOPLAY;
else G.fileflags &= ~G_FILE_AUTOPLAY;
write_history();
/* prevent background mode scripts from clobbering history */
if(!G.background) {
write_history();
}
/* run this function after because the file cant be written before the blend is */
if (ibuf_thumb) {