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:
parent
a34f0de3e1
commit
b7e81dbc5b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue