Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / intern / ghost / intern / GHOST_System.cpp
index 229744e..603452c 100644 (file)
@@ -289,9 +289,9 @@ GHOST_TSuccess GHOST_System::init()
 #endif
        
 #ifdef GHOST_DEBUG
+       m_eventPrinter = new GHOST_EventPrinter();
        if (m_eventManager) {
-               m_eventPrinter = new GHOST_EventPrinter();
-               //m_eventManager->addConsumer(m_eventPrinter);
+               m_eventManager->addConsumer(m_eventPrinter);
        }
 #endif // GHOST_DEBUG