mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 15: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;
|
e = e->extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!node->controller.empty())
|
if(!node->controller.empty() && (node->parent || node->recType != Nif::RC_NiNode))
|
||||||
createNodeControllers(name, node->controller, objectlist, animflags);
|
createNodeControllers(name, node->controller, objectlist, animflags);
|
||||||
|
|
||||||
if(node->recType == Nif::RC_NiCamera)
|
if(node->recType == Nif::RC_NiCamera)
|
||||||
|
|
Loading…
Reference in a new issue