svn merge -r 12937:13095 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / src / header_info.c
index 62450d686a105e53e6369b0c621c1b6b3f02456b..23aa7576b1242e3b82be7d230a96aea373c1fd4d 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
@@ -831,6 +830,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);
                }