Clean up ScriptScheduler and add doxygen comments

This commit is contained in:
Erik Broberg
2016-09-13 17:35:45 -04:00
parent 99dca3f774
commit 87815ac179
3 changed files with 89 additions and 49 deletions

View File

@@ -760,7 +760,7 @@ void OpenSpaceEngine::preSynchronization() {
Time::ref().advanceTime(dt);
Time::ref().preSynchronization();
auto scheduledScripts = _scriptScheduler->scheduledScripts(Time::ref().currentTime());
auto scheduledScripts = _scriptScheduler->progressTo(Time::ref().currentTime());
while(scheduledScripts.size()){
auto scheduledScript = scheduledScripts.front();
LINFO(scheduledScript);