Blender Git Loki

Git Commits -> Revision a994e7a

Revision a994e7a by Bastien Montagne (blender-v2.83-release, tmp-2.83-cycles-rtx3-kernels)
August 26, 2020, 09:19 (GMT)
Fix critical bug in foreach ID looper of Scene data-block.

Since stone age of lib_query, the code would iterate over the current
list of active sequences (from a meta strip e.g.), and not over the
whole list of those.

This is a critical issue as it means in some cases (editing a meta strip
typically), some ID pointers would be missed/ignored by this foreach
looper, which is now at the center of most of our ID management code.

This caused a bug here at the studio, leading to loss of all sound IDs
used by sound strips when editing and undoing inside a meta strip, since
ID refcounting would not happen properly on strips using sounds outside
the meta-strip context during file reading of the undo steps.

To be backported to 2.83.

Differential Revision: https://developer.blender.org/D8671

Commit Details:

Full Hash: a994e7a4b9c3b3cc7d2dc1967df28f33e506b1a9
Parent Commit: 22d8506
Lines Changed: +1, -1

1 Modified Path:

/source/blender/blenkernel/intern/lib_query.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021