1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 07:53:51 +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; 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)