From b7e81dbc5bcb7c25cb89fd03776156100542322d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 28 Jul 2013 04:20:33 -0700 Subject: [PATCH] Ignore controllers on the root NiNode I wonder if we should ignore the root NiNode completely. --- 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 9c079bc98..3bb9ea230 100644 --- a/components/nifogre/ogrenifloader.cpp +++ b/components/nifogre/ogrenifloader.cpp @@ -758,7 +758,7 @@ class NIFObjectLoader e = e->extra; } - if(!node->controller.empty()) + if(!node->controller.empty() && (node->parent || node->recType != Nif::RC_NiNode)) createNodeControllers(name, node->controller, objectlist, animflags); if(node->recType == Nif::RC_NiCamera)