forked from teamnwah/openmw-tes3coop
Fix InverseWorldMatrix bug introduced by last commit
This commit is contained in:
parent
ec25f1da95
commit
b79ab1a3b8
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ namespace NifOsg
|
||||||
osg::Node* child = node->getChild(i);
|
osg::Node* child = node->getChild(i);
|
||||||
if (i == node->getNumChildren()-1) // FIXME: some nicer way to determine where our actual Drawable resides...
|
if (i == node->getNumChildren()-1) // FIXME: some nicer way to determine where our actual Drawable resides...
|
||||||
{
|
{
|
||||||
child->setUpdateCallback(node->getUpdateCallback());
|
child->addUpdateCallback(node->getUpdateCallback());
|
||||||
child->setStateSet(node->getStateSet());
|
child->setStateSet(node->getStateSet());
|
||||||
child->setName(node->getName());
|
child->setName(node->getName());
|
||||||
// make sure to copy the UserDataContainer with the record index, so that connections to an animated collision shape don't break
|
// make sure to copy the UserDataContainer with the record index, so that connections to an animated collision shape don't break
|
||||||
|
|
Loading…
Reference in a new issue