mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 16:50:43 +02:00
fix issue when loading file to the input recorder
This commit is contained in:
parent
3c652a52d8
commit
0cae299192
1 changed files with 13 additions and 13 deletions
|
@ -199,7 +199,7 @@ namespace controller {
|
|||
for (int actionIndex = 0; actionIndex < actionArrayList.size(); actionIndex++) {
|
||||
QJsonArray actionState = actionArrayList[actionIndex].toArray();
|
||||
for (int index = 0; index < actionState.size(); index++) {
|
||||
_currentFrameActions[index] = actionState[index].toInt();
|
||||
_currentFrameActions[index] = actionState[index].toDouble();
|
||||
}
|
||||
_actionStateList.push_back(_currentFrameActions);
|
||||
_currentFrameActions = ActionStates(toInt(Action::NUM_ACTIONS));
|
||||
|
|
Loading…
Reference in a new issue