collada: fix warning: unused variable.

pull/2966/head
Kim Kulling 2020-09-27 21:09:06 +02:00
parent bdd3c96eee
commit 3f97a1df2c
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ void ColladaParser::ReadAnimation(XmlNode &node, Collada::Animation *pParent) {
anim->mChannels.push_back(it->second);
}
if (idAttr >= 0) {
if (idAttr) {
mAnimationLibrary[animID] = anim;
}
}