Blender Git Commit Log

Git Commits -> Revision 08c49d8

Revision 08c49d8 by Sergey Sharybin (master)
August 19, 2013, 10:40 (GMT)
Use reentrant qsort() in particle codes

Particle system code used global variable to sort hair by orig index,
which is not safe for threading at all.

Replaced this with usage of reentrant version of qsort, which is
now implemented in BLI. It was moved from recast navigation code
to BLI, so more areas could use it (if needed).

--
svn merge -r59086:59087 ^/branches/soc-2013-depsgraph_mt

Commit Details:

Full Hash: 08c49d8a121a637bd45c386af1d9d172264e53b0
SVN Revision: 59279
Parent Commit: 018ab04
Lines Changed: +215, -143

2 Added Paths:

/source/blender/blenlib/BLI_sort.h (+41, -0) (View)
/source/blender/blenlib/intern/sort.c (+160, -0) (View)

5 Modified Paths:

/extern/recastnavigation/recast-capi.cpp (+0, -126) (Diff)
/extern/recastnavigation/recast-capi.h (+0, -5) (Diff)
/source/blender/blenkernel/intern/navmesh_conversion.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+10, -11) (Diff)
/source/blender/blenlib/CMakeLists.txt (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021