[Bf-funboard] "Quit without saving changes?"/"Save changes?" popup...

bf-xand bf-funboard@blender.org
Fri, 21 Nov 2003 13:32:27 +0100


a way to know if there's changes, it's a flag set to 1 at each call of the
function that adds action in the undo list.
the set will be set to 0 at each save. when you quit, you have to check the
value of the flag.
if an action is not present in the undo list, we could say that's not an
imortant change and forget it, but i may be wrong.

+++