forked from mirror/openmw-tes3mp
Treat "Root Bone" as the animation root if existing (Fixes #2019)
This commit is contained in:
parent
8233f5894a
commit
415f67f859
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ void Animation::addAnimSource(const std::string &model)
|
|||
}
|
||||
}
|
||||
|
||||
if (grp == 0 && dstval->getNode()->getName() == "Bip01")
|
||||
if (grp == 0 && (dstval->getNode()->getName() == "Bip01" || dstval->getNode()->getName() == "Root Bone"))
|
||||
{
|
||||
mNonAccumRoot = dstval->getNode();
|
||||
mAccumRoot = mNonAccumRoot->getParent();
|
||||
|
|
Loading…
Reference in a new issue