diff options
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index 397f2cc6978..2467d4327ed 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -318,9 +318,6 @@ static int screen_opengl_render_init(bContext *C, wmOperator *op) /* stop all running jobs, currently previews frustrate Render */ WM_jobs_stop_all(CTX_wm_manager(C)); - /* handle UI stuff */ - WM_cursor_wait(1); - /* create offscreen buffer */ sizex = (scene->r.size * scene->r.xsch) / 100; sizey = (scene->r.size * scene->r.ysch) / 100; @@ -333,6 +330,9 @@ static int screen_opengl_render_init(bContext *C, wmOperator *op) return 0; } + /* handle UI stuff */ + WM_cursor_wait(1); + /* allocate opengl render */ oglrender = MEM_callocN(sizeof(OGLRender), "OGLRender"); op->customdata = oglrender; |