Fix T66916 UI: Wrong information in Status bar after cancelling a render

Fixed thanks to @manowii
This commit is contained in:
Clément Foucault 2020-05-19 21:15:41 +02:00
parent 7bb3d9787e
commit 5201bc9dd4
Notes: blender-bot 2023-02-14 11:25:11 +01:00
Referenced by issue #66916, Status bar indicates wrong information after cancelling a render
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}