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 :)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user