Don't save preferences when exiting with "Send & Quit" button
The "Save & Quit" button disables the exit confirmation box, and that change shouldn't be auto-saved.
This commit is contained in:
parent
14778e5c08
commit
dd00bc9cb5
@ -131,6 +131,7 @@ def silently_quit_blender():
|
||||
|
||||
prefs = bpy.context.preferences
|
||||
prefs.view.use_save_prompt = False
|
||||
prefs.use_preferences_save = False
|
||||
bpy.ops.wm.quit_blender()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user