From 5b300c1052d541bf05bde80319f1361c694a4b00 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 31 Jan 2014 03:24:09 +0100 Subject: [PATCH] Handle controllers for the root node. Fixes #1147 (incorrect dwemer crossbow rotation) --- components/nifogre/ogrenifloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nifogre/ogrenifloader.cpp b/components/nifogre/ogrenifloader.cpp index 9fca4d2fb..644a6df6b 100644 --- a/components/nifogre/ogrenifloader.cpp +++ b/components/nifogre/ogrenifloader.cpp @@ -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)