Blender Git Commit Log
Git Commits -> Revision efee24c
Revision efee24c by Germano Cavalcante (soc-2021-porting-modifiers-to-nodes-decimate, soc-2021-porting-modifiers-to-nodes_all) July 30, 2021, 14:56 (GMT) |
Fix 'BLI_task_parallel_mempool' keeping 'user_chunk' unchanged When `BLI_task_parallel_mempool` does not use threading, the `userdata_chunk` is allocated locally simulating a TLS. However `func_reduce` is not called so the original chunk is ignored. `task_parallel_iterator_no_threads` is another function that doesn't call `func_reduce`. It also ignores `userdata_chunk_local` in the main iterator. The solution in these cases is not to create a `userdata_chunk_local`. This fixes T90131 Differential Revision: https://developer.blender.org/D12067 |
Commit Details:
Full Hash: efee24c34e882a22dd2a1a4f32ad966a82d9540f
Parent Commit: f68e8e4
Committed By: Fabian Schempp
Lines Changed: +12, -19
1 Modified Path:
/source/blender/blenlib/intern/task_iterator.c (+12, -19) (Diff)