diff options
author | Sergio Martins <sergio.martins@kdab.com> | 2018-11-30 19:52:19 +0000 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-05-09 06:52:38 +0000 |
commit | 15073a28cf728eb0b1b179845022e2e4eca3ee4c (patch) | |
tree | df9b997ec70804e43def0fadab0ee24cfa78b735 /src/animation | |
parent | 5679b23c5338ae41d12755cf4e26a95bc391d0a9 (diff) |
Fix some warnings
In preparation to mark the module with warning_clean
backend/gltfimporter.cpp:345:19: warning: unused variable 's' [-Wunused-variable]
backend/gltfimporter.cpp:353:19: warning: unused variable 't' [-Wunused-variable]
Change-Id: I1c69e7cb3931fb6a1d3e352c59f7147b958a00f0
Reviewed-by: Andy Maloney <asmaloney@gmail.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/animation')
-rw-r--r-- | src/animation/backend/gltfimporter.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/animation/backend/gltfimporter.cpp b/src/animation/backend/gltfimporter.cpp index ed10c3e25..718acbb79 100644 --- a/src/animation/backend/gltfimporter.cpp +++ b/src/animation/backend/gltfimporter.cpp @@ -342,15 +342,12 @@ GLTFImporter::Node::Node(const QJsonObject &json) const auto rotationValue = json.value(KEY_ROTATION); const auto translationValue = json.value(KEY_TRANSLATION); - QVector3D s(1.0f, 1.0f, 1.0f); if (!scaleValue.isUndefined()) jsonArrayToVector3D(scaleValue.toArray(), localTransform.scale); - QQuaternion r; if (!rotationValue.isUndefined()) jsonArrayToQuaternion(json.value(KEY_ROTATION).toArray(), localTransform.rotation); - QVector3D t; if (!translationValue.isUndefined()) jsonArrayToVector3D(json.value(KEY_TRANSLATION).toArray(), localTransform.translation); } |