summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/handler.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-01-19 16:16:37 +0000
committerPaul Lemire <paul.lemire@kdab.com>2017-01-27 07:04:21 +0000
commitf4f671f201e2fb39c623a20e659b906d54a9d906 (patch)
treea60b49092b9720997a23af0890cfddb160d116f9 /src/animation/backend/handler.cpp
parente8ed0df38161d106c3fffac8bb14c5ad456941e5 (diff)
Add animation components
Three levels of animation playback are available at present for keyframe animation: 1) Direct playback of a clip via QClipAnimator 2) Playback of a blend tree of clips via QBlendedClipAnimator 3) Playback of a set of blend trees controlled with a state machine via QConductedClipAnimator This commit adds the frontend and backend nodes for all 3 components and registers them. The blended and conducted animator components are just empty skeletons for now. Change-Id: If2f0a912c003f3d20f830a8f6174946eea6b47e6 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/animation/backend/handler.cpp')
-rw-r--r--src/animation/backend/handler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/animation/backend/handler.cpp b/src/animation/backend/handler.cpp
index 3a6f9d590..bfcb22090 100644
--- a/src/animation/backend/handler.cpp
+++ b/src/animation/backend/handler.cpp
@@ -45,6 +45,9 @@ namespace Animation {
Handler::Handler()
: m_animationClipManager(new AnimationClipManager)
+ , m_clipAnimatorManager(new ClipAnimatorManager)
+ , m_blendedClipAnimatorManager(new BlendedClipAnimatorManager)
+ , m_conductedClipAnimatorManager(new ConductedClipAnimatorManager)
{
}