1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

Fix world transform calculation

This commit is contained in:
Chris Robinson 2012-07-16 13:16:11 -07:00
parent 12f1785882
commit 63e40d6e92

View file

@ -221,6 +221,6 @@ Ogre::Matrix4 Node::getLocalTransform()
Ogre::Matrix4 Node::getWorldTransform()
{
if(parent != NULL)
return getLocalTransform() * parent->getWorldTransform();
return parent->getWorldTransform() * getLocalTransform();
return getLocalTransform();
}