Fix T48529: NLA : viewport not updated after Track muted/unmuted.
Not sure why, but ANIM_animdata_update() totally ignored NLAStrip type of bAnimListElem. For now only added support for ANIM_UPDATE_DEPS type of update, don't know whether others are needed in this case or not... time will say.
This commit is contained in:
parent
8e26111020
commit
362bd116d9
Notes:
blender-bot
2023-02-14 08:47:25 +01:00
Referenced by issue #48529, NLA : viewport not updated after Track muted/unmuted
|
@ -399,7 +399,13 @@ void ANIM_animdata_update(bAnimContext *ac, ListBase *anim_data)
|
|||
ANIM_list_elem_update(ac->scene, ale);
|
||||
}
|
||||
}
|
||||
|
||||
else if (ale->datatype == ALE_NLASTRIP) {
|
||||
if (ale->update & ANIM_UPDATE_DEPS) {
|
||||
ale->update &= ~ANIM_UPDATE_DEPS;
|
||||
ANIM_list_elem_update(ac->scene, ale);
|
||||
}
|
||||
}
|
||||
|
||||
BLI_assert(ale->update == 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue