diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-10-26 11:06:19 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-11-09 13:44:43 +0300 |
commit | dca32f2b4f290bcf8c110c21d2cdecc04d390934 (patch) | |
tree | 903724013134314afa083259b5f9a69de292774a /source/blender/editors/transform/transform_convert.c | |
parent | 6f1237b2ebda5c55414851d5c227fb819c3bc75b (diff) |
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
Diffstat (limited to 'source/blender/editors/transform/transform_convert.c')
0 files changed, 0 insertions, 0 deletions