Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/render/render_internal.c
| Show First 20 Lines • Show All 767 Lines • ▼ Show 20 Lines | static void render_endjob(void *rjv) | ||||
| /* Finally unlock the user interface (if it was locked). */ | /* Finally unlock the user interface (if it was locked). */ | ||||
| if (rj->interface_locked) { | if (rj->interface_locked) { | ||||
| /* Interface was locked, so window manager couldn't have been changed | /* Interface was locked, so window manager couldn't have been changed | ||||
| * and using one from Global will unlock exactly the same manager as | * and using one from Global will unlock exactly the same manager as | ||||
| * was locked before running the job. | * was locked before running the job. | ||||
| */ | */ | ||||
| WM_set_locked_interface(G_MAIN->wm.first, false); | WM_set_locked_interface(G_MAIN->wm.first, false); | ||||
| DEG_on_visible_update(G_MAIN, false); | DEG_tag_on_visible_update(G_MAIN, false); | ||||
| } | } | ||||
| } | } | ||||
| /* called by render, check job 'stop' value or the global */ | /* called by render, check job 'stop' value or the global */ | ||||
| static int render_breakjob(void *rjv) | static int render_breakjob(void *rjv) | ||||
| { | { | ||||
| RenderJob *rj = rjv; | RenderJob *rj = rjv; | ||||
| ▲ Show 20 Lines • Show All 412 Lines • Show Last 20 Lines | |||||