svn merge -r 12937:13095 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / src / toets.c
index 088d91f74180965e9c8493afcab6cf183bf97986..eac0028699e8332e5e39373bea7446130cce8d06 100644 (file)
@@ -838,6 +838,8 @@ int blenderqread(unsigned short event, short val)
                                if (untitled(dir)) {
                                        activate_fileselect(FILE_BLENDER, "Save File", dir, BIF_write_file);
                                } else {
+                                       /* do NOT ask everytime for overwriting... */
+                                       G.save_over = 1;
                                        BIF_write_file(dir);
                                        free_filesel_spec(dir);
                                }
@@ -938,6 +940,8 @@ int blenderqread(unsigned short event, short val)
                                if (untitled(dir)) {
                                        activate_fileselect(FILE_BLENDER, "Save File", dir, BIF_write_file);
                                } else {
+                                       /* do NOT ask everytime for overwriting... */
+                                       G.save_over = 1;
                                        BIF_write_file(dir);
                                        free_filesel_spec(dir);
                                }