diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2008-05-11 17:33:27 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2008-05-11 17:33:27 +0400 |
commit | 360e2f091ea123ade3842219ddf5e204af4951ed (patch) | |
tree | 64ba7d7b8b388d98f9f3792b5cc744def176667b /intern/ghost | |
parent | 50a282559ce8ff4cda62964e631152cada483ddb (diff) |
protecting by #ifdef0 debug prints for ndof
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_NDOFManager.cpp | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_System.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_NDOFManager.cpp b/intern/ghost/intern/GHOST_NDOFManager.cpp index 6f3876c1d96..2426146184a 100644 --- a/intern/ghost/intern/GHOST_NDOFManager.cpp +++ b/intern/ghost/intern/GHOST_NDOFManager.cpp @@ -73,7 +73,9 @@ GHOST_NDOFManager::deviceOpen(GHOST_IWindow* window, if (ndofLibraryInit && ndofDeviceOpen) { Pid= ndofLibraryInit(); +#if 0 printf("%i client \n", Pid); +#endif #if defined(_WIN32) || defined(__APPLE__) m_DeviceHandle = ndofDeviceOpen((void *)¤tNdofValues); #else diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cpp index 458a35bf34b..87e5f375958 100644 --- a/intern/ghost/intern/GHOST_System.cpp +++ b/intern/ghost/intern/GHOST_System.cpp @@ -283,9 +283,11 @@ GHOST_TSuccess GHOST_System::init() m_eventManager = new GHOST_EventManager (); m_ndofManager = new GHOST_NDOFManager(); +#if 0 if(m_ndofManager) printf("ndof manager \n"); - +#endif + #ifdef GHOST_DEBUG if (m_eventManager) { m_eventManager->addConsumer(&m_eventPrinter); |