fix static-code-analysis check.

pull/3012/head
Kim Kulling 2020-03-21 18:03:35 +01:00
parent 7d624e7f60
commit 089ab0693a
1 changed files with 1 additions and 1 deletions

View File

@ -2715,7 +2715,7 @@ void FBXConverter::GenerateNodeAnimations(std::vector<aiNodeAnim *> &node_anims,
// check if this curves contains redundant information by looking // check if this curves contains redundant information by looking
// up the corresponding node's transformation chain. // up the corresponding node's transformation chain.
if (doc.Settings().optimizeEmptyAnimationCurves && if (doc.Settings().optimizeEmptyAnimationCurves &&
IsRedundantAnimationData(target, comp, (*chain[i]).second)) { IsRedundantAnimationData(target, comp, (chain[i]->second))) {
FBXImporter::LogDebug("dropping redundant animation channel for node " + target.Name()); FBXImporter::LogDebug("dropping redundant animation channel for node " + target.Name());
continue; continue;