summaryrefslogtreecommitdiffstats
path: root/tests/auto/animation/clipblendnode
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2017-01-30 12:41:26 +0100
committerPaul Lemire <paul.lemire@kdab.com>2017-01-30 16:22:13 +0000
commit989ce5f0e3d128c0d47a410e53ca57578a25d202 (patch)
tree1e0204689f50e8a1f837a9789d754e5906df67fd /tests/auto/animation/clipblendnode
parent14f4677e2f8e125495d401c5ea657bf0708a417b (diff)
ClipBlendNode: add a virtual pure blend method
Allows to make each subclass perform its own blending Change-Id: I0a8e32ebc549c988cf4cab59806152c7aa0825f4 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto/animation/clipblendnode')
-rw-r--r--tests/auto/animation/clipblendnode/tst_clipblendnode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/animation/clipblendnode/tst_clipblendnode.cpp b/tests/auto/animation/clipblendnode/tst_clipblendnode.cpp
index c045c2112..085979267 100644
--- a/tests/auto/animation/clipblendnode/tst_clipblendnode.cpp
+++ b/tests/auto/animation/clipblendnode/tst_clipblendnode.cpp
@@ -47,6 +47,8 @@ public:
TestClipBlendNode()
: Qt3DAnimation::Animation::ClipBlendNode(Qt3DAnimation::Animation::ClipBlendNode::LerpBlendType)
{}
+
+ float blend(float , float ) const Q_DECL_FINAL { return 0.0f; }
};
} // anonymous