summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/loadanimationclipjob.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-04-07 16:40:55 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-04-12 18:37:29 +0000
commit7fccf4f96efab3daaeef7fceceaeea776b50ff0a (patch)
treea33eb9fd85f7d32b298d157522c5f02bf72e3bec /src/animation/backend/loadanimationclipjob.cpp
parent90667286d9ab851f6735fc53dd7aaa3881167b3d (diff)
Rename AnimationClipLoader to AnimationClip
It handles both loadign from file and from data constructed using the public API. Change-Id: Ic9e71dc60c36869548323312f7129df6c9edd763 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/animation/backend/loadanimationclipjob.cpp')
-rw-r--r--src/animation/backend/loadanimationclipjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/backend/loadanimationclipjob.cpp b/src/animation/backend/loadanimationclipjob.cpp
index 152b60a58..c0201e0e9 100644
--- a/src/animation/backend/loadanimationclipjob.cpp
+++ b/src/animation/backend/loadanimationclipjob.cpp
@@ -36,7 +36,7 @@
#include "loadanimationclipjob_p.h"
-#include <Qt3DAnimation/private/animationcliploader_p.h>
+#include <Qt3DAnimation/private/animationclip_p.h>
#include <Qt3DAnimation/private/handler_p.h>
#include <Qt3DAnimation/private/managers_p.h>
#include <Qt3DAnimation/private/job_common_p.h>
@@ -71,7 +71,7 @@ void LoadAnimationClipJob::run()
Q_ASSERT(m_handler);
AnimationClipLoaderManager *animationClipManager = m_handler->animationClipLoaderManager();
for (const auto animationClipHandle : qAsConst(m_animationClipHandles)) {
- AnimationClipLoader *animationClip = animationClipManager->data(animationClipHandle);
+ AnimationClip *animationClip = animationClipManager->data(animationClipHandle);
animationClip->loadAnimation();
}