diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2021-08-20 17:30:34 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2021-08-25 18:30:39 +0300 |
commit | f49d438ced7c5874dbf43976d9901a462176f541 (patch) | |
tree | fae7b745eaf1e793b53119f3ec27c34621727c58 /source/blender/depsgraph/CMakeLists.txt | |
parent | 796035ad930383c26302ab6a57e8e6c90394603b (diff) |
Cleanup and remove SEQ_ALL_BEGIN macro
We now use a for_each function with callback to iterate through all sequences in the scene.
This has the benefit that we now only loop over the sequences in the scene once.
Before we would loop over them twice and allocate memory to store temporary data.
The allocation of temporary data lead to unintentional memory leaks if the code used returns to exit out of the iteration loop.
The new for_each callback method doesn't allocate any temporary data and only iterates though all sequences once.
Reviewed By: Richard Antalik, Bastien Montagne
Differential Revision: http://developer.blender.org/D12278
Diffstat (limited to 'source/blender/depsgraph/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions