mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Handle controllers for the root node. Fixes #1147 (incorrect dwemer crossbow rotation)
This commit is contained in:
parent
60bbab52fe
commit
5b300c1052
@ -1034,7 +1034,7 @@ class NIFObjectLoader
|
|||||||
e = e->extra;
|
e = e->extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!node->controller.empty() && (node->parent || node->recType != Nif::RC_NiNode))
|
if(!node->controller.empty())
|
||||||
createNodeControllers(name, node->controller, scene, animflags);
|
createNodeControllers(name, node->controller, scene, animflags);
|
||||||
|
|
||||||
if(node->recType == Nif::RC_NiCamera)
|
if(node->recType == Nif::RC_NiCamera)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user