[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30371] branches/soc-2010-merwin/intern/ ghost/intern/GHOST_EventManager.cpp: disabled lo-fi dispatch log to reduce event debugging noise
Mike Erwin
significant.bit at gmail.com
Thu Jul 15 13:54:26 CEST 2010
Revision: 30371
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30371
Author: merwin
Date: 2010-07-15 13:54:24 +0200 (Thu, 15 Jul 2010)
Log Message:
-----------
disabled lo-fi dispatch log to reduce event debugging noise
Modified Paths:
--------------
branches/soc-2010-merwin/intern/ghost/intern/GHOST_EventManager.cpp
Modified: branches/soc-2010-merwin/intern/ghost/intern/GHOST_EventManager.cpp
===================================================================
--- branches/soc-2010-merwin/intern/ghost/intern/GHOST_EventManager.cpp 2010-07-15 11:51:43 UTC (rev 30370)
+++ branches/soc-2010-merwin/intern/ghost/intern/GHOST_EventManager.cpp 2010-07-15 11:54:24 UTC (rev 30371)
@@ -183,19 +183,19 @@
GHOST_IEvent* cursorMove = NULL;
GHOST_IEvent* event = NULL;
- GHOST_EventPrinter printer;
+// GHOST_EventPrinter printer;
// when Pen gets its own event type, track it alongside mouse moves
// they probably won't both be active, but you never know
- cout << "\n--- lo-fi dispatch ---";
- cout << "\ndiscard:";
+// cout << "\n--- lo-fi dispatch ---";
+// cout << "\ndiscard:";
while ((event = popEvent()) != NULL) {
if (event->getType() == GHOST_kEventCursorMove) {
// just a simple (x,y) pair, nothing much to adjust
// discard the older event and keep the latest
if (cursorMove) {
- printer.processEvent(cursorMove);
+// printer.processEvent(cursorMove);
delete cursorMove;
}
cursorMove = event;
@@ -207,13 +207,13 @@
// finally dispatch the single cursor update
if (cursorMove) {
- cout << "\nsend:";
- printer.processEvent(cursorMove);
+// cout << "\nsend:";
+// printer.processEvent(cursorMove);
if (!dispatchEvent(cursorMove))
allHandled = false;
}
- cout << endl;
+// cout << endl;
return allHandled;
}
More information about the Bf-blender-cvs
mailing list