diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-27 17:33:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-27 17:34:21 +0300 |
commit | 40bde2a95d890c258bff62c2a88ddce64b633deb (patch) | |
tree | f918e344f7c7d01c41e97fcc572af0ee3e89b9d0 /source/blender/draw/engines/external/external_engine.c | |
parent | 70bb61ba97c45eae4864d348f3f67da7d13eb0ba (diff) |
Fix annotations not drawing correctly on Cycles rendered view
Diffstat (limited to 'source/blender/draw/engines/external/external_engine.c')
-rw-r--r-- | source/blender/draw/engines/external/external_engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/engines/external/external_engine.c b/source/blender/draw/engines/external/external_engine.c index 7e03ce525d7..d8748b05f96 100644 --- a/source/blender/draw/engines/external/external_engine.c +++ b/source/blender/draw/engines/external/external_engine.c @@ -224,12 +224,14 @@ static void external_draw_scene_do(void *vedata) /* Rendered draw. */ GPU_matrix_push_projection(); + GPU_matrix_push(); ED_region_pixelspace(ar); /* Render result draw. */ type = rv3d->render_engine->type; type->view_draw(rv3d->render_engine, draw_ctx->evil_C, draw_ctx->depsgraph); + GPU_matrix_pop(); GPU_matrix_pop_projection(); /* Set render info. */ |