1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 21:45:32 +00:00

Ignore controllers on the root NiNode

I wonder if we should ignore the root NiNode completely.
This commit is contained in:
Chris Robinson 2013-07-28 04:20:33 -07:00
parent a34f0de3e1
commit b7e81dbc5b

View file

@ -758,7 +758,7 @@ class NIFObjectLoader
e = e->extra;
}
if(!node->controller.empty())
if(!node->controller.empty() && (node->parent || node->recType != Nif::RC_NiNode))
createNodeControllers(name, node->controller, objectlist, animflags);
if(node->recType == Nif::RC_NiCamera)