From 92fd931e536faa8eae250c302d6c4846fe5e1916 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 1 May 2018 17:43:05 +0200 Subject: [PATCH] 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. --- source/blender/windowmanager/intern/wm_files.c | 2 ++ 1 file changed, 2 insertions(+) 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; }