Sfoglia il codice sorgente

# IrrLoader: fix typo.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1130 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 13 anni fa
parent
commit
b54d3ff522
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      code/IRRLoader.cpp

+ 1 - 1
code/IRRLoader.cpp

@@ -546,7 +546,7 @@ void IRRImporter::ComputeAnimations(Node* root, aiNode* real, std::vector<aiNode
 					t2 = (h1 * p1 + p2 * h2 + t1 * h3 + h4 * t2);
 					t2 = (h1 * p1 + p2 * h2 + t1 * h3 + h4 * t2);
 
 
 					// build a simple translation matrix from it
 					// build a simple translation matrix from it
-					key.mValue = t2.x;
+					key.mValue = t2;
 					key.mTime  = (double) i;
 					key.mTime  = (double) i;
 				}
 				}
 			}
 			}