Treat "Root Bone" as the animation root if existing (Fixes #2019)

loadfix
scrawl 10 years ago
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…
Cancel
Save