summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/animationutils.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-03-24 15:53:19 +0000
committerSean Harmer <sean.harmer@kdab.com>2017-03-26 07:29:47 +0000
commitd4181254c00086d735ecbf01a03a8129e788e0a5 (patch)
treea85cce311a407365d503744fd1b425db8db5e724 /src/animation/backend/animationutils.cpp
parent2357c213b61fc4111701cf86b26ca44ab020058b (diff)
Rename dependencyIds() to currentDependencyIds()
We need to add another function that returns all potential dependencies rather than just those that are dependencies given the current state (blend value). Make room for that by renaming this to a more descriptive name. Change-Id: I06cdc2e471007e3bd40cd7b687a4a2c21e4b2828 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/animation/backend/animationutils.cpp')
-rw-r--r--src/animation/backend/animationutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/backend/animationutils.cpp b/src/animation/backend/animationutils.cpp
index c3f3a564e..f0f2c3bbb 100644
--- a/src/animation/backend/animationutils.cpp
+++ b/src/animation/backend/animationutils.cpp
@@ -448,7 +448,7 @@ QVector<Qt3DCore::QNodeId> gatherValueNodesToEvaluate(Handler *handler,
ClipBlendNodeVisitor::VisitOnlyDependencies);
auto func = [&clipIds, nodeManager] (ClipBlendNode *blendNode) {
- const auto dependencyIds = blendNode->dependencyIds();
+ const auto dependencyIds = blendNode->currentDependencyIds();
for (const auto dependencyId : dependencyIds) {
// Look up the blend node and if it's a value type (clip),
// add it to the set of value node ids that need to be evaluated