1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-06 02:19:43 +00:00

Handle controllers for the root node. Fixes #1147 (incorrect dwemer crossbow rotation)

This commit is contained in:
scrawl 2014-01-31 03:24:09 +01:00
parent 60bbab52fe
commit 5b300c1052

View file

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