protecting by #ifdef0 debug prints for ndof
authorJean-Luc Peurière <jlp@nerim.net>
Sun, 11 May 2008 13:33:27 +0000 (13:33 +0000)
committerJean-Luc Peurière <jlp@nerim.net>
Sun, 11 May 2008 13:33:27 +0000 (13:33 +0000)
intern/ghost/intern/GHOST_NDOFManager.cpp
intern/ghost/intern/GHOST_System.cpp

index 6f3876c1d960e5c755e36187f54f11c48a1b4c1c..2426146184a7f767da31f1e7d4cb0c8c2479ed93 100644 (file)
@@ -73,7 +73,9 @@ GHOST_NDOFManager::deviceOpen(GHOST_IWindow* window,
     if (ndofLibraryInit  && ndofDeviceOpen)
     {
        Pid= ndofLibraryInit();
     if (ndofLibraryInit  && ndofDeviceOpen)
     {
        Pid= ndofLibraryInit();
+#if 0
                printf("%i client \n", Pid);
                printf("%i client \n", Pid);
+#endif
                #if defined(_WIN32) || defined(__APPLE__)
                        m_DeviceHandle = ndofDeviceOpen((void *)&currentNdofValues);    
                #else
                #if defined(_WIN32) || defined(__APPLE__)
                        m_DeviceHandle = ndofDeviceOpen((void *)&currentNdofValues);    
                #else
index 458a35bf34b7c10e3db67c477708a6f6df450d30..87e5f375958511fa1f5596d52a8ffcd30a151db5 100644 (file)
@@ -283,9 +283,11 @@ GHOST_TSuccess GHOST_System::init()
        m_eventManager = new GHOST_EventManager ();
     m_ndofManager = new GHOST_NDOFManager();
 
        m_eventManager = new GHOST_EventManager ();
     m_ndofManager = new GHOST_NDOFManager();
 
+#if 0
        if(m_ndofManager)
                printf("ndof manager \n");
        if(m_ndofManager)
                printf("ndof manager \n");
-
+#endif
+       
 #ifdef GHOST_DEBUG
        if (m_eventManager) {
                m_eventManager->addConsumer(&m_eventPrinter);
 #ifdef GHOST_DEBUG
        if (m_eventManager) {
                m_eventManager->addConsumer(&m_eventPrinter);