Blender Git Commit Log

Git Commits -> Revision 602250d

Revision 602250d by Campbell Barton (master)
December 10, 2014, 10:16 (GMT)
Fix T42748: Crash in subsurf, threaded access

Allocating the iterator from a BLI_memarena wasn't threadsafe.
Change the API to use stack memory for iterators.

Thanks to @mont29 for finding exact cause of the bug.

Commit Details:

Full Hash: 602250d9fe796ff5e762a4880a0be97ef3f4b139
Parent Commit: 47788b5
Lines Changed: +80, -122

3 Modified Paths:

/source/blender/blenkernel/intern/CCGSubSurf.c (+10, -32) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.h (+13, -9) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+57, -81) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021