fixup! fixup! Disabled InputCommand processing while you fiddle with editor UI elements
This commit is contained in:
@@ -64,7 +64,7 @@ void InputProxy::Process(bool suppressNewEvents /*= false*/)
|
||||
e.Value = currentValue;
|
||||
if (!suppressNewEvents || e.Value == 0) {
|
||||
m_EventBroker->Publish(e);
|
||||
LOG_DEBUG("Input: Published command %s=%f for player %i", e.Command.c_str(), e.Value, e.PlayerID);
|
||||
//LOG_DEBUG("Input: Published command %s=%f for player %i", e.Command.c_str(), e.Value, e.PlayerID);
|
||||
}
|
||||
m_LastCommandValues[command] = currentValue;
|
||||
}
|
||||
@@ -82,7 +82,7 @@ void InputProxy::Process(bool suppressNewEvents /*= false*/)
|
||||
//e.Value = std::max(-1.f, std::min(e.Value, 1.f));
|
||||
if (!suppressNewEvents || e.Value == 0) {
|
||||
m_EventBroker->Publish(e);
|
||||
LOG_DEBUG("Input: Published command %s=%f for player %i", e.Command.c_str(), e.Value, e.PlayerID);
|
||||
//LOG_DEBUG("Input: Published command %s=%f for player %i", e.Command.c_str(), e.Value, e.PlayerID);
|
||||
}
|
||||
}
|
||||
m_CommandQueue.clear();
|
||||
|
||||
Reference in New Issue
Block a user