Blender Git Commit Log

Git Commits -> Revision dca36a8

Revision dca36a8 by Jacques Lucke (master)
November 19, 2020, 18:09 (GMT)
Fix T82769: remove thread local data from PTCacheMem

The issue was that the same point cache was read by multiple
threads at the same time (the same object was evaluated for
render and for the viewport).
Both threads incremented PTCacheMem->cur which lead to the crash.

The fix is to remove the PTCacheMem->cur and store it on the
stack instead. This way every thread has its own cur.

Reviewers: brecht

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

Commit Details:

Full Hash: dca36a8ec922bcce6bc4882cd6cba52792ed56ee
Parent Commit: e01bf7a
Lines Changed: +49, -44

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021