Blender Git Loki

Git Commits -> Revision 59cfb20

Revision 59cfb20 by Brecht Van Lommel (master)
May 19, 2020, 21:36 (GMT)
Fix PBVH parallel range not initializing user data correctly in some cases

This was already changed for the TBB-based BLI_task_parallel_range in master.
This task local storage should always be initialized from the template, not
copied from another task which may be executing at the time the copy happens.

This may not fix any actual bug, we only use this user data for parallel reduce
and it's not clear that TBB ever calls the copy constructor for that case.

Ref T76858

Commit Details:

Full Hash: 59cfb20fa112e636a6ae85cb6fdc048f16af5637
Parent Commit: 8d63d73
Lines Changed: +1, -1

1 Modified Path:

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