- renamed "bone" anims and associated structures to generic "node" anims. Breaking change, sorry for that.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@166 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -713,10 +713,10 @@ void Importer::GetMemoryRequirements(aiMemoryInfo& in) const
|
||||
in.animations += sizeof(aiAnimation);
|
||||
|
||||
// add all bone anims
|
||||
for (unsigned int a = 0; a < pc->mNumBones;++a)
|
||||
for (unsigned int a = 0; a < pc->mNumChannels; ++a)
|
||||
{
|
||||
const aiBoneAnim* pc2 = pc->mBones[i];
|
||||
in.animations += sizeof(aiBoneAnim);
|
||||
const aiNodeAnim* pc2 = pc->mChannels[i];
|
||||
in.animations += sizeof(aiNodeAnim);
|
||||
in.animations += pc2->mNumPositionKeys * sizeof(aiVectorKey);
|
||||
in.animations += pc2->mNumScalingKeys * sizeof(aiVectorKey);
|
||||
in.animations += pc2->mNumRotationKeys * sizeof(aiQuatKey);
|
||||
|
||||
Reference in New Issue
Block a user