1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 09:09:39 +00:00

Merge pull request #997 from MiroslavR/inactive-kfctrls

Do not skip inactive keyframe controllers
This commit is contained in:
scrawl 2016-07-10 20:48:59 +02:00 committed by GitHub
commit 432723bfe6

View file

@ -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());