summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/buildblendtreesjob.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-02-28 11:18:14 +0000
committerSean Harmer <sean.harmer@kdab.com>2017-03-02 18:45:59 +0000
commit4abd7bbfdb33200346c67b5d3af0f743793a3a39 (patch)
treee380467b02aa9140cc2e03480f666b998fb5135f /src/animation/backend/buildblendtreesjob.cpp
parent8e36d0645788308b62b795821f968cc18a40fbab (diff)
Cleanup coding style a little
Change-Id: I8459ea5f16a11fc99b0743145d7a2b3c2f29d0c4 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/animation/backend/buildblendtreesjob.cpp')
-rw-r--r--src/animation/backend/buildblendtreesjob.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/animation/backend/buildblendtreesjob.cpp b/src/animation/backend/buildblendtreesjob.cpp
index f5d4036d2..cac15ac5c 100644
--- a/src/animation/backend/buildblendtreesjob.cpp
+++ b/src/animation/backend/buildblendtreesjob.cpp
@@ -192,7 +192,9 @@ void BuildBlendTreesJob::run()
visitor.traverse(blendClipAnimator->blendTreeRootId(), [&] (ClipBlendNode *node) {
BlendedClipAnimator::BlendNodeData nodeData;
nodeData.blendNodeId = node->peerId();
- nodeData.type = (node->childrenIds().size() > 0) ? BlendedClipAnimator::BlendNodeData::BlendNodeType : BlendedClipAnimator::BlendNodeData::ClipType;
+ nodeData.type = (node->childrenIds().size() > 0)
+ ? BlendedClipAnimator::BlendNodeData::BlendNodeType
+ : BlendedClipAnimator::BlendNodeData::ClipType;
if (nodeData.type == BlendedClipAnimator::BlendNodeData::BlendNodeType) {
Q_ASSERT(node->childrenIds().size() == 2);