Selaa lähdekoodia

- finally found the last bug in the viewer animation code. Dwarf is now dwarfing, Tiny is now running correctly.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@220 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
ulfjorensen 17 vuotta sitten
vanhempi
commit
0f56c48aca
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tools/assimp_view/Display.cpp

+ 1 - 1
tools/assimp_view/Display.cpp

@@ -1988,7 +1988,7 @@ int CDisplay::RenderNode (aiNode* piNode,const aiMatrix4x4& piMatrix,
 					*tempmat++ = mat.d1; *tempmat++ = mat.d2; *tempmat++ = mat.d3; *tempmat++ = mat.d4; 
 					//tempmat += 4;
 				}
-				helper->piEffect->SetMatrixArray( "gBoneMatrix", (D3DXMATRIX*)matrices, 60);
+				helper->piEffect->SetMatrixTransposeArray( "gBoneMatrix", (D3DXMATRIX*)matrices, 60);
 			}
 
 			// now setup the material