ok, apparently didn't commit this either. apparently includes a merge with trunk...
[blender.git] / intern / ghost / intern / GHOST_System.cpp
index 458a35bf34b7c10e3db67c477708a6f6df450d30..79d8389ffc6d6f24fc337f8fccce042e4133d6de 100644 (file)
@@ -275,7 +275,6 @@ GHOST_TSuccess GHOST_System::getButtonState(GHOST_TButtonMask mask, bool& isDown
        return success;
 }
 
-
 GHOST_TSuccess GHOST_System::init()
 {
        m_timerManager = new GHOST_TimerManager ();
@@ -283,12 +282,15 @@ 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);
+               m_eventPrinter = new GHOST_EventPrinter();
+               m_eventManager->addConsumer(m_eventPrinter);
        }
 #endif // GHOST_DEBUG