Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -725,7 +725,7 @@ void ScriptEngine::run() { · 724 unmodified lines | ||
| 725 | 725 | |
| 726 | 726 | qint64 lastUpdate = usecTimestampNow(); |
| 727 | 727 | |
| 728 | − // TODO: Integrate this with signals/slots instead of this busy wait | |
| 728 | + // TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine | |
| 729 | 729 | while (!_isFinished) { |
| 730 | 730 | // Throttle to SCRIPT_FPS |
| 731 | 731 | const std::chrono::microseconds FRAME_DURATION(USECS_PER_SECOND / SCRIPT_FPS + 1); |