diff options
Diffstat (limited to 'src/animation/backend/gltfimporter.cpp')
-rw-r--r-- | src/animation/backend/gltfimporter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/animation/backend/gltfimporter.cpp b/src/animation/backend/gltfimporter.cpp index 469b82298..9543e926c 100644 --- a/src/animation/backend/gltfimporter.cpp +++ b/src/animation/backend/gltfimporter.cpp @@ -460,7 +460,6 @@ GLTFImporter::AnimationNameAndChannels GLTFImporter::createAnimationData(qsizety for (const auto &skin : m_skins) nodeIndexToJointIndexMaps.push_back(createNodeIndexToJointIndexMap(skin)); - int channelIndex = 0; for (const auto &channel : animation.channels) { Qt3DAnimation::Animation::Channel outputChannel; outputChannel.name = gltfTargetPropertyToChannelName(channel.targetProperty); @@ -591,7 +590,6 @@ GLTFImporter::AnimationNameAndChannels GLTFImporter::createAnimationData(qsizety } nameAndChannels.channels.push_back(outputChannel); - ++channelIndex; } return nameAndChannels; |