forked from teamnwah/openmw-tes3coop
Support keyframe controllers for bones that aren't in the skeleton base
This commit is contained in:
parent
305a471c5a
commit
60bbab52fe
1 changed files with 0 additions and 6 deletions
|
@ -532,12 +532,6 @@ static void updateBoneTree(const Ogre::SkeletonInstance *skelsrc, Ogre::Bone *bo
|
||||||
bone->setScale(Ogre::Vector3::UNIT_SCALE);
|
bone->setScale(Ogre::Vector3::UNIT_SCALE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
// No matching bone in the source. Make sure it stays properly offset
|
|
||||||
// from its parent.
|
|
||||||
bone->resetToInitialState();
|
|
||||||
}
|
|
||||||
|
|
||||||
Ogre::Node::ChildNodeIterator boneiter = bone->getChildIterator();
|
Ogre::Node::ChildNodeIterator boneiter = bone->getChildIterator();
|
||||||
while(boneiter.hasMoreElements())
|
while(boneiter.hasMoreElements())
|
||||||
|
|
Loading…
Reference in a new issue