Browse Source

copy and paste edit

Lumak 9 years ago
parent
commit
d7085d2c7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Tools/AssetImporter/AssetImporter.cpp

+ 1 - 1
Source/Tools/AssetImporter/AssetImporter.cpp

@@ -2732,7 +2732,7 @@ void InitAnimatedChainTransformIndices(aiAnimation* anim, unsigned mainChannel,
 
 
     // resize animated channel key size
     // resize animated channel key size
     if (numTransforms > 1)
     if (numTransforms > 1)
-        ExpandAnimatedChannelKeys(anim, mainChannel, &channelIndices[0]);
+        ExpandAnimatedChannelKeys(anim, mainChannel, channelIndices);
 }
 }
 
 
 void CreatePivotlessFbxBoneStruct(OutModel &model)
 void CreatePivotlessFbxBoneStruct(OutModel &model)