From 2a987b6857df96beae2c5042e752e0af45b61880 Mon Sep 17 00:00:00 2001 From: MiroslavR Date: Sun, 10 Jul 2016 19:02:28 +0200 Subject: [PATCH] Do not skip inactive keyframe controllers (Bug #1942) --- components/nifosg/nifloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 172d92abe..59f781937 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -321,8 +321,8 @@ namespace NifOsg continue; } - if (!(ctrl->flags & Nif::NiNode::ControllerFlag_Active)) - continue; + // Vanilla seems to ignore the "active" flag for NiKeyframeController, + // so we don't want to skip inactive controllers here. const Nif::NiStringExtraData *strdata = static_cast(extra.getPtr()); const Nif::NiKeyframeController *key = static_cast(ctrl.getPtr());