diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-01 18:43:05 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-01 18:43:18 +0300 |
commit | 92fd931e536faa8eae250c302d6c4846fe5e1916 (patch) | |
tree | ece4ce7cafe941ee3e137c1afbc7ede9348dc755 | |
parent | f6c1762bb3997250fc59c0c3286ee63fe07f1826 (diff) |
Fix: Silence |RNA_boolean_get: WM_OT_save_as_mainfile.exit not found." warning on exit
The operator in question doesn't define this property.
I'm commenting out for now in case another operator actually still uses it.
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index e30028eb3d3..efb3d0e7461 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -2128,9 +2128,11 @@ static int wm_save_as_mainfile_exec(bContext *C, wmOperator *op) WM_event_add_notifier(C, NC_WM | ND_FILESAVE, NULL); +#if 0 /* XXX: Remove? This is not currently defined as a valid property */ if (RNA_boolean_get(op->ptr, "exit")) { wm_exit_schedule_delayed(C); } +#endif return OPERATOR_FINISHED; } |