diff options
author | Jeroen Bakker <jbakker> | 2020-08-25 09:18:08 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-08-25 09:18:25 +0300 |
commit | 141a8ff6b3b1170d5551ef08895f1b7fac145235 (patch) | |
tree | 8da7f04002b89a19bf759fefe6c91acb0e0aa518 /source | |
parent | 1bced5884c3dd80c74dfdcf621eae3b90d32a662 (diff) |
Enabled workaround to solve threading issues in draw manager
This workaround addresses T79533 and T79038 for Blender 2.90. The
solution isn't clear and needs more research and work. In order to
continue with blender 2.90 release it was proposed to add this work
around.
It has been tested with the test files provided in the reports.
Reviewed By: Dalai Felinto, Clément Foucault
Differential Revision: https://developer.blender.org/D8695
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 3 | ||||
m--------- | source/tools | 0 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c index 361c66eca6e..d3a057b1016 100644 --- a/source/blender/draw/intern/draw_cache_impl_mesh.c +++ b/source/blender/draw/intern/draw_cache_impl_mesh.c @@ -1549,6 +1549,9 @@ void DRW_mesh_batch_cache_create_requested(struct TaskGraph *task_graph, scene, ts, use_hide); + /* TODO(jbakker): Work-around for threading issues in 2.90. See T79533, T79038. Needs to be + * solved or made permanent in 2.91. Underlying issue still needs to be researched. */ + BLI_task_graph_work_and_wait(task_graph); #ifdef DEBUG drw_mesh_batch_cache_check_available(task_graph, me); #endif diff --git a/source/tools b/source/tools -Subproject 896c5f78952adb2d091d28c65086d46992dabda +Subproject 6a252de776d0b9dca3167c30a7621a4f1e9bc91 |