Blender Git Loki

Git Commits -> Revision 5659c8e

Revision 5659c8e by Germano Cavalcante (master)
January 4, 2020, 01:48 (GMT)
BLI_bvhtree_overlap: Improve non-multithreaded usage

Although not using multithreading, the `thread` parameter in the
`BVHTree_OverlapCallback` callback always returned a value between the
"number of threads".

This parameter should always be 0 in such cases.

Also a `BLI_Stack` was created for each "thread" and used.
This small overhead is no longer seen.

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

Commit Details:

Full Hash: 5659c8e0bf4393fe8e0eab5a4845aa09d35738ac
Parent Commit: 9b74e64
Lines Changed: +19, -8

1 Modified Path:

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