- 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
pull/1/head
ulfjorensen 2008-11-02 19:34:24 +00:00
parent d965f0d06a
commit 0f56c48aca
1 changed files with 1 additions and 1 deletions

View File

@ -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