mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
Treat "Root Bone" as the animation root if existing (Fixes #2019)
This commit is contained in:
parent
5892fd9e65
commit
deabc52c16
@ -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 New Issue
Block a user