svn merge -r 13177:13240 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / src / header_info.c
index 8200a9c0c76888e898e02b0e35030a98c750a845..6a1d7c29f58c1108dafff3e2fe4d8bf6e1f163db 100644 (file)
@@ -78,7 +78,6 @@
 #include "BIF_usiblender.h"
 #include "BIF_writeimage.h"
 #include "BIF_drawscene.h"
-
 #ifdef WITH_VERSE
 #include "BIF_verse.h"
 #endif
@@ -832,6 +831,8 @@ static void do_info_filemenu(void *arg, int event)
                if (untitled(dir)) {
                        activate_fileselect(FILE_BLENDER, "Save As", dir, BIF_write_file);
                } else {
+                       /* do NOT ask everytime for overwriting... */
+                       G.save_over = 1;
                        BIF_write_file(dir);
                        free_filesel_spec(dir);
                }