Browse Source

Update assimpShapeLoader.cpp

marauder2k7 1 year ago
parent
commit
7115d9bcc6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Engine/source/ts/assimp/assimpShapeLoader.cpp

+ 2 - 1
Engine/source/ts/assimp/assimpShapeLoader.cpp

@@ -284,7 +284,8 @@ void AssimpShapeLoader::processAnimations()
             ambientChannels.push_back(anim->mChannels[j]);
             ambientChannels.push_back(anim->mChannels[j]);
          }
          }
       }
       }
-
+      
+      ambientSeq->mNumChannels = ambientChannels.size();
       ambientSeq->mChannels = ambientChannels.address();
       ambientSeq->mChannels = ambientChannels.address();
 
 
       AssimpAppSequence* defaultAssimpSeq = new AssimpAppSequence(ambientSeq);
       AssimpAppSequence* defaultAssimpSeq = new AssimpAppSequence(ambientSeq);