Blender Git Loki
Git Commits -> Revision 62e11ae
Revision 62e11ae by Alexander Gavrilov (temp-lanpr-cleanup2) November 13, 2019, 03:25 (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: https://developer.blender.org/D6133 |
Commit Details:
Full Hash: 62e11aedb8ae1eea6f15e601301ecc7e14fd3909
Parent Commit: dfd1ccf
Committed By: YimingWu
Lines Changed: +41, -2