summaryrefslogtreecommitdiffstats
path: root/src/app/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/app.cpp')
-rw-r--r--src/app/app.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp
index ab3c33c..1bf9a54 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -371,6 +371,8 @@ bool CApplication::Create()
// Create the robot application.
m_robotMain = new CRobotMain(m_iMan, this);
+ m_robotMain->ChangePhase(PHASE_WELCOME1);
+
GetLogger()->Info("CApplication created successfully\n");
return true;
@@ -854,7 +856,7 @@ bool CApplication::ProcessEvent(const Event &event)
if (m_debugMode)
l->Info("Focus change: active = %s\n", event.active.gain ? "true" : "false");
- if (m_active != event.active.gain)
+ /*if (m_active != event.active.gain)
{
m_active = event.active.gain;
@@ -862,7 +864,7 @@ bool CApplication::ProcessEvent(const Event &event)
ResumeSimulation();
else
SuspendSimulation();
- }
+ }*/
}
else if (event.type == EVENT_KEY_DOWN)
{