mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 03:39:55 +00:00
Fix InverseWorldMatrix bug introduced by last commit
This commit is contained in:
parent
ec25f1da95
commit
b79ab1a3b8
@ -394,7 +394,7 @@ namespace NifOsg
|
||||
osg::Node* child = node->getChild(i);
|
||||
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->setName(node->getName());
|
||||
// make sure to copy the UserDataContainer with the record index, so that connections to an animated collision shape don't break
|
||||
|
Loading…
x
Reference in New Issue
Block a user