diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2015-12-06 14:58:41 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2015-12-07 19:07:29 +0000 |
commit | 8e585245bc1cb5a35269e7b5210b13a34ed886d3 (patch) | |
tree | 0cc0c05bc860ca2c10876a770aaf88d4b06cfa84 /src/core | |
parent | c807454297e171abc822e56dc5940d61a3d9abd3 (diff) |
Pass frame time delta through to the logic component frame update
Allows for smoother animations in logic components.
Change-Id: I2aad5055465b3afbac415e21a356e216701551ef
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/qscheduler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/qscheduler.cpp b/src/core/qscheduler.cpp index 42979c7c6..e0bf05caa 100644 --- a/src/core/qscheduler.cpp +++ b/src/core/qscheduler.cpp @@ -63,6 +63,10 @@ void QScheduler::scheduleAndWaitForFrameAspectJobs(qint64 time) { QVector<QAspectJobPtr> jobQueue; + // TODO: Allow clocks with custom scale factors and independent control + // over running / paused / stopped status + // TODO: Advance all clocks registered with the engine + // TODO: Set up dependencies between jobs as needed // For now just queue them up as they are const QList<QAbstractAspect *> &aspects = m_aspectManager->aspects(); |