mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 03:39:55 +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
@ -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…
x
Reference in New Issue
Block a user