Jelajahi Sumber

fix static-code-analysis check.

Kim Kulling 5 tahun lalu
induk
melakukan
089ab0693a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      code/FBX/FBXConverter.cpp

+ 1 - 1
code/FBX/FBXConverter.cpp

@@ -2715,7 +2715,7 @@ void FBXConverter::GenerateNodeAnimations(std::vector<aiNodeAnim *> &node_anims,
             // check if this curves contains redundant information by looking
             // up the corresponding node's transformation chain.
             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());
                 continue;