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 229744e2000c74bceed54eda5c093944dc750910..603452cfcbda512dd8befd77983d6705fc8b48d4 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