[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34519] trunk/blender/intern/ghost/intern/ GHOST_SystemWin32.cpp: Silencing some annoying key-event prints in Win32 console:

Dalai Felinto dfelinto at gmail.com
Thu Jan 27 03:19:54 CET 2011


oh thanks God.
I thought it was something really wrong with my build environment here :)

2011/1/26 Joshua Leung <aligorith at gmail.com>

> Revision: 34519
>
> http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34519
> Author:   aligorith
> Date:     2011-01-26 23:58:20 +0000 (Wed, 26 Jan 2011)
> Log Message:
> -----------
> 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 :)
>
> Modified Paths:
> --------------
>    trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp
>
> Modified: trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp
> ===================================================================
> --- trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp     2011-01-26
> 23:33:08 UTC (rev 34518)
> +++ trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp     2011-01-26
> 23:58:20 UTC (rev 34519)
> @@ -738,7 +738,10 @@
>                }
>
>                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;
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>


More information about the Bf-committers mailing list