mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 23:06:43 +00:00
Use the skeleton name for the main animation
This commit is contained in:
parent
2db80a1504
commit
4bc93ecd1a
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ void loadResource(Ogre::Resource *resource)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ogre::Animation *anim = skel->createAnimation("default", maxtime);
|
Ogre::Animation *anim = skel->createAnimation(skel->getName(), maxtime);
|
||||||
/* HACK: Pre-create the node tracks by matching the track IDs with the
|
/* HACK: Pre-create the node tracks by matching the track IDs with the
|
||||||
* bone IDs. Otherwise, Ogre animates the wrong bones. */
|
* bone IDs. Otherwise, Ogre animates the wrong bones. */
|
||||||
size_t bonecount = skel->getNumBones();
|
size_t bonecount = skel->getNumBones();
|
||||||
|
|
Loading…
Reference in a new issue