Merge pull request #3659 from gongminmin/FixAnimName
Export the animation name to gltf2pull/3665/head
commit
3c79b12e02
|
@ -1388,6 +1388,7 @@ void glTF2Exporter::ExportAnimations()
|
|||
nameAnim = anim->mName.C_Str();
|
||||
}
|
||||
Ref<Animation> animRef = mAsset->animations.Create(nameAnim);
|
||||
animRef->name = nameAnim;
|
||||
|
||||
for (unsigned int channelIndex = 0; channelIndex < anim->mNumChannels; ++channelIndex) {
|
||||
const aiNodeAnim* nodeChannel = anim->mChannels[channelIndex];
|
||||
|
|
Loading…
Reference in New Issue