Bugfix [#25380] Recorded bone keyframes do not play back both in the
action editor and the NLA editor This commit fixes the situation where if a NLA Track was on 'solo' mode and then deleted, NLA evaluation (including Active Action) would stop working as a flag wasn't getting cleared.
This commit is contained in:
@@ -455,6 +455,12 @@ static int nlaedit_delete_tracks_exec (bContext *C, wmOperator *UNUSED(op))
|
||||
NlaTrack *nlt= (NlaTrack *)ale->data;
|
||||
AnimData *adt= ale->adt;
|
||||
|
||||
/* if track is currently 'solo', then AnimData should have its
|
||||
* 'has solo' flag disabled
|
||||
*/
|
||||
if (nlt->flag & NLATRACK_SOLO)
|
||||
adt->flag &= ~ADT_NLA_SOLO_TRACK;
|
||||
|
||||
/* call delete on this track - deletes all strips too */
|
||||
free_nlatrack(&adt->nla_tracks, nlt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user