summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-09-09 09:44:01 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2019-09-09 10:06:21 +0300
commit5665b3264179f97eabe92e77afbd7a3eaaf743f0 (patch)
treef6b186df100df6345861c567ecdcf68b9c13d10f
parentdc81b986f4aff9737796e3028cad8c41588d3687 (diff)
Fix imported assets animations not appearing bug
Rest of the fix is in the editor side Task-number: QT3DS-3921 Change-Id: Ie372a21ce70f373a3ca90a1236ca1d96ff7d418f Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
-rw-r--r--src/dm/systems/Qt3DSDMAnimation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dm/systems/Qt3DSDMAnimation.h b/src/dm/systems/Qt3DSDMAnimation.h
index 11da8dd..6890dbb 100644
--- a/src/dm/systems/Qt3DSDMAnimation.h
+++ b/src/dm/systems/Qt3DSDMAnimation.h
@@ -41,7 +41,7 @@ struct SLinearKeyframe
float m_value;
SLinearKeyframe() = default;
- SLinearKeyframe(long time, float value)
+ SLinearKeyframe(float time, float value)
: m_time(time)
, m_value(value) {}
};