Fix: Disabled NLA Interferes with Action Eval

Introduced by my commit: rB09709a7e64ff

This bug effectively enabled the NLA when it should be disabled, when
all tracks muted or no strips exist. Specifically, the NLA Action Track
settings would be used (extrapolation, blendmode, influence).
This commit is contained in:
Wayde Moss 2021-02-05 17:47:56 -05:00
parent 10e23fd104
commit abfb9dbf59
1 changed files with 1 additions and 1 deletions

View File

@ -2223,7 +2223,7 @@ static bool is_action_track_evaluated_without_nla(const AnimData *adt,
}
/** NLA settings interference. */
if ((adt->flag & (ADT_NLA_SOLO_TRACK | ADT_NLA_EDIT_ON)) == 0) {
if ((adt->flag & (ADT_NLA_SOLO_TRACK | ADT_NLA_EDIT_ON)) != 0) {
return false;
}