NLA: Redundant NlaEvalChannel Valid Mask Write
The field will already be properly written to in (anim_sys.c) nla_eval_domain_action(). It's easier to understand the property's usage after removing the redundancy. No functional changes. Reviewed by: ChrisLend, sybren Differential Revision: http://developer.blender.org/D9689
This commit is contained in:
parent
32e4ded24b
commit
10ce2a1016
Notes:
blender-bot
2023-02-14 06:00:50 +01:00
Referenced by issue #84736, Blender 2.7 Keymap Inconsistancies
|
@ -1702,14 +1702,6 @@ static bool nlaeval_blend_value(NlaBlendData *blend,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (nec->mix_mode == NEC_MIX_QUATERNION) {
|
||||
/* For quaternion properties, always output all sub-channels. */
|
||||
BLI_bitmap_set_all(nec->valid.ptr, true, 4);
|
||||
}
|
||||
else {
|
||||
BLI_BITMAP_ENABLE(nec->valid.ptr, array_index);
|
||||
}
|
||||
|
||||
NlaEvalChannelSnapshot *nec_snapshot = nlaeval_snapshot_ensure_channel(blend->snapshot, nec);
|
||||
float *p_value = &nec_snapshot->values[array_index];
|
||||
|
||||
|
|
Loading…
Reference in New Issue