18

Does Blender have a setting or addon that makes it prompt you to 'save unsaved changes' when you close the window like other applications? I cannot count the number of times I have lost small pieces of my work because I exited the program just to check if I had made any changes.

iKlsR
  • 43,379
  • 12
  • 156
  • 189
Gwen
  • 11,636
  • 14
  • 68
  • 88

3 Answers3

13

Yes, (But only on MS-Windows) open User Preferences and look under Interface, you should see a checkbox with Prompt Quit beside it.

enter image description here

Additionally, or preferably you can use CtrlAlt + U to save it and make it load with your other defaults.

About Macs:

Closing the app with CmdQ invokes the save prompt. Quitting with CmdW doesn't. (possible bug?) The only indication that you haven't saved is the 'dot' in the red, close-window button, top left of the window.

enter image description here

iKlsR
  • 43,379
  • 12
  • 156
  • 189
  • 3
    To bad it doesn't work on linux.. – gandalf3 Jun 21 '13 at 00:20
  • 1
    @gandalf3 you have to use Ctrl + Q, updated my answer. – iKlsR Jun 21 '13 at 00:46
  • hm.. I know about Ctrl + Q, but never really used it.. – gandalf3 Jun 21 '13 at 01:45
  • On Mac, Cmd+Q does invoke the 'wanna save?' prompt. Cmd+W doesn't. – Mike Pan Jun 21 '13 at 04:17
  • @MikePan thanks for clarifying this. Can you add it to the answer please. – iKlsR Jun 21 '13 at 04:22
  • 3
    Why not Ctrl + Alt + U to save user preferences only? Ctrl + U would also save everything else (e.g. scene objects) to startup file – Alvin Wong Jun 21 '13 at 14:48
  • Ctrl + Alt + U does not save the user preferences, only opens the window. (you must still click "save user settings").

    I just tested the Prompt Quit setting, but it doesn't seem to do anything? clicking the "X" at the top of the window closes blender without any prompts.

    – gandalf3 Jul 24 '13 at 01:26
  • @gandalf3 That's odd. You have to save once and have unsaved changes for it to prompt. This works for me on windows. – iKlsR Jul 24 '13 at 01:52
10

Additionally, Blender auto saves to a temporary directory every 5 minutes by default, (settings located in User Preferences > File)

It also automatically saves a "quit.blend" file in a temporary directory when it has exited. (This is recoverable by going to Info > File > Recover last session)

Blender even saves backup files in the directory that your file is saved in (foo.blend1, blend2) for a more permanent backup.
See this question for more info on this.. Blender saves a new file every time

All of this is default behaviour.

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
4

Also
enter image description here

that star indicates unsaved changes.

zeffii
  • 39,634
  • 9
  • 103
  • 186