History

init the accumulator for script elapsed time

howard-stearns committed 10 years ago

Commit 6cae62f1 parent ab6ccac1 file · +1 −1Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−1
@@ -849,7 +849,7 @@ void ScriptEngine::run() { · 848 unmodified lines
849 849
850 _lastUpdate = usecTimestampNow();850 _lastUpdate = usecTimestampNow();
851 851
852 std::chrono::microseconds totalUpdates;852 std::chrono::microseconds totalUpdates(0);
853 853
854 // TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine854 // TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine
855 while (!_isFinished) {855 while (!_isFinished) {