[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27929] trunk/blender/source/blender/ windowmanager/intern/wm_event_system.c: move operator reports into a global list so they display in the console.
Campbell Barton
ideasman42 at gmail.com
Thu Apr 1 15:54:53 CEST 2010
Revision: 27929
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27929
Author: campbellbarton
Date: 2010-04-01 15:54:53 +0200 (Thu, 01 Apr 2010)
Log Message:
-----------
move operator reports into a global list so they display in the console.
Modified Paths:
--------------
trunk/blender/source/blender/windowmanager/intern/wm_event_system.c
Modified: trunk/blender/source/blender/windowmanager/intern/wm_event_system.c
===================================================================
--- trunk/blender/source/blender/windowmanager/intern/wm_event_system.c 2010-04-01 12:57:44 UTC (rev 27928)
+++ trunk/blender/source/blender/windowmanager/intern/wm_event_system.c 2010-04-01 13:54:53 UTC (rev 27929)
@@ -378,6 +378,9 @@
op->customdata= NULL;
+ /* add reports to the global list, otherwise they are not seen */
+ addlisttolist(&CTX_wm_reports(C)->list, &op->reports->list);
+
/* we don't want to do undo pushes for operators that are being
called from operators that already do an undo push. usually
this will happen for python operators that call C operators */
More information about the Bf-blender-cvs
mailing list