Merge pull request #997 from MiroslavR/inactive-kfctrls

Do not skip inactive keyframe controllers
pull/1/head
scrawl 9 years ago committed by GitHub
commit 432723bfe6

@ -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<const Nif::NiStringExtraData*>(extra.getPtr());
const Nif::NiKeyframeController *key = static_cast<const Nif::NiKeyframeController*>(ctrl.getPtr());

Loading…
Cancel
Save