diff options
author | Bastien Montagne <mont29> | 2020-07-29 18:36:27 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-07-29 18:36:46 +0300 |
commit | 4e6975ffd6656fb9abbaa577fef0815666c6c808 (patch) | |
tree | 9906dc88494655373167a92d90e2904f051869f2 /source/blender/draw | |
parent | 54a2fcc0f331b8971e8a105382e9a8f67e1859e3 (diff) |
Fix T78285: Invalid thread safety in shrinkwrap modifier code.
This uses mesh's runtime mutex for both `BKE_mesh_runtime_looptri_ensure`
(was using its own global RW mutex before), and `BKE_mesh_wrapper_ensure_mdata`
(was not protected at all before).
This is more like a band-aid than a proper fix, as mentioned in the report
proper fix would be for the modifier to request those data (the relevant
BVHTree, which would implicitely also call the tow others) through flags,
just like it does for regular CDData layers. But this is a much bigger
refactor to be done outside of bugfix scope.
Reviewed By: sergey
Maniphest Tasks: T78285
Differential Revision: https://developer.blender.org/D8415
Diffstat (limited to 'source/blender/draw')
0 files changed, 0 insertions, 0 deletions