Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-01-27 02:58:20 +0300
committerJoshua Leung <aligorith@gmail.com>2011-01-27 02:58:20 +0300
commit340e411889d85f183ede4be6442436d7d2c83103 (patch)
treecf99702e1b4f77775614cc216b87c9b6f8b41871 /intern
parent50e09b15a99333ed657f70a8a38bf28d5849506e (diff)
Silencing some annoying key-event prints in Win32 console:
The console was getting flooded with output like g i i ... all as a result of what looks like a debugging print. Whoever put this in, you can get back your debugging prints by enabling BF_GHOST_DEBUG in your local config :)
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index 106c09acd69..24f9e96b109 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -738,7 +738,10 @@ GHOST_EventKey* GHOST_SystemWin32::processKeyEvent(GHOST_IWindow *window, bool k
}
event = new GHOST_EventKey(getSystem()->getMilliSeconds(), keyDown ? GHOST_kEventKeyDown: GHOST_kEventKeyUp, window, key, ascii);
+
+#ifdef BF_GHOST_DEBUG
std::cout << ascii << std::endl;
+#endif
}
else {
event = 0;