mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 12:53:53 +00:00
Do not skip inactive keyframe controllers (Bug #1942)
This commit is contained in:
parent
2329812988
commit
2a987b6857
1 changed files with 2 additions and 2 deletions
|
@ -321,8 +321,8 @@ namespace NifOsg
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(ctrl->flags & Nif::NiNode::ControllerFlag_Active))
|
// Vanilla seems to ignore the "active" flag for NiKeyframeController,
|
||||||
continue;
|
// so we don't want to skip inactive controllers here.
|
||||||
|
|
||||||
const Nif::NiStringExtraData *strdata = static_cast<const Nif::NiStringExtraData*>(extra.getPtr());
|
const Nif::NiStringExtraData *strdata = static_cast<const Nif::NiStringExtraData*>(extra.getPtr());
|
||||||
const Nif::NiKeyframeController *key = static_cast<const Nif::NiKeyframeController*>(ctrl.getPtr());
|
const Nif::NiKeyframeController *key = static_cast<const Nif::NiKeyframeController*>(ctrl.getPtr());
|
||||||
|
|
Loading…
Reference in a new issue