Blender Git Commit Log

Git Commits -> Revision dca32f2

Revision dca32f2 by Alexander Gavrilov (master)
November 9, 2019, 10:44 (GMT)
Fluid Particles: fix threading crash with viscoelastic springs.

As correctly pointed out by a comment in the code, adding
new springs wasn't thread safe, and caused crashes.

Fix by buffering new springs in intermediate thread-local
arrays, which are flushed on the main thread. This is valid
because the new springs are not used until the next sim step.

Differential Revision:

Commit Details:

Full Hash: dca32f2b4f290bcf8c110c21d2cdecc04d390934
Parent Commit: 6f1237b
Lines Changed: +41, -2

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