[Bf-blender-cvs] [92fd931e536] blender2.8: Fix: Silence |RNA_boolean_get: WM_OT_save_as_mainfile.exit not found." warning on exit
Joshua Leung
noreply at git.blender.org
Tue May 1 17:43:26 CEST 2018
Commit: 92fd931e536faa8eae250c302d6c4846fe5e1916
Author: Joshua Leung
Date: Tue May 1 17:43:05 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB92fd931e536faa8eae250c302d6c4846fe5e1916
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.
===================================================================
M source/blender/windowmanager/intern/wm_files.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list