diff options
author | Bastien Montagne <bastien@blender.org> | 2020-08-21 18:28:50 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-08-21 18:35:18 +0300 |
commit | ebf10b72b05f2a274299f1822d2f4514e6b14624 (patch) | |
tree | c0b385772354f209177aca8d38cbc9f6654e8985 /source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_sequencer.cc | |
parent | 05e1ccf108366ee9ef95b41643dcbd656d819f5a (diff) |
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
Diffstat (limited to 'source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_sequencer.cc')
0 files changed, 0 insertions, 0 deletions