collada: fix warning: unused variable.
parent
bdd3c96eee
commit
3f97a1df2c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue