diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-05-19 22:15:41 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-05-19 22:23:56 +0300 |
commit | 5201bc9dd4a764c3ea054a953aa17da23d8107d7 (patch) | |
tree | bb35e87ed692f1b731be88c39b3a8dfa8df327a2 | |
parent | 7bb3d9787ead90d2a389eeccf05d7be9c56f03e6 (diff) |
Fix T66916 UI: Wrong information in Status bar after cancelling a render
Fixed thanks to @manowii
-rw-r--r-- | source/blender/draw/intern/draw_manager_shader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager_shader.c b/source/blender/draw/intern/draw_manager_shader.c index b451cfb1d05..3217be353fa 100644 --- a/source/blender/draw/intern/draw_manager_shader.c +++ b/source/blender/draw/intern/draw_manager_shader.c @@ -237,6 +237,9 @@ static void drw_deferred_shader_add(GPUMaterial *mat, bool deferred) WM_jobs_timer(wm_job, 0.1, NC_MATERIAL | ND_SHADING_DRAW, 0); WM_jobs_delay_start(wm_job, 0.1); WM_jobs_callbacks(wm_job, drw_deferred_shader_compilation_exec, NULL, NULL, NULL); + + G.is_break = false; + WM_jobs_start(wm, wm_job); } |