Blender Git Commit Log

Git Commits -> Revision 8c74c35

Revision 8c74c35 by Sybren A. Stüvel (master)
November 30, 2020, 15:30 (GMT)
Fix T81628: Moving Python-made channels freezes Blender

Fix various problems in the Action Group rearranging code. All fixes are
necessary to resolve the bug.

- Before groups are rearranged, the channels are moved into their
respective groups (so no longer referenced by `action->channels`). A
temporary group is made for ungrouped channels. The code made
assumptions about the channels being in the same order as the groups;
that assumption has been removed.
- Looping over channels in an Action Group should stop when reaching the
last channel, and not until `NULL`.
- After all the reshuffling is done, the `action->channels` linked list
wasn't terminated properly. Now `first.prev` and `last.next` are set
to `NULL` to avoid infinite loops.

Commit Details:

Full Hash: 8c74c35ecb5b6416fcfc624e52c068ed90f48757
Parent Commit: ed9b703
Lines Changed: +31, -7

1 Modified Path:

/source/blender/editors/animation/anim_channels_edit.c (+31, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021