summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/gltfimporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/backend/gltfimporter.cpp')
-rw-r--r--src/animation/backend/gltfimporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/backend/gltfimporter.cpp b/src/animation/backend/gltfimporter.cpp
index 910fd86fa..c4904ee9d 100644
--- a/src/animation/backend/gltfimporter.cpp
+++ b/src/animation/backend/gltfimporter.cpp
@@ -546,7 +546,7 @@ GLTFImporter::AnimationNameAndChannels GLTFImporter::createAnimationData(int ani
// Get the key frame times first as these are common to all components of the
// key frame values.
const int keyFrameCount = inputAccessor.count;
- QList<float> keyframeTimes(keyFrameCount);
+ QVector<float> keyframeTimes(keyFrameCount);
for (int i = 0; i < keyFrameCount; ++i) {
const auto rawTimestamp = accessorData(sampler.inputAccessorIndex, i);
keyframeTimes[i] = *reinterpret_cast<const float*>(rawTimestamp.data);