diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-27 21:07:40 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-27 21:33:58 +0300 |
commit | c0c9eb7fe27c27c9c3a9523d555b5a00f2bafb17 (patch) | |
tree | 190e57241e4406df30cb47c4a0b59ffe5ba37954 /source/blender/editors/space_view3d/view3d_draw.c | |
parent | 0adabe33bd5a7af30db7496c933248b3f0d6eb46 (diff) |
Fix quad view region dividing lines not drawing after recent changes.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 3bc86a82afd..01ce3ae65c5 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1265,6 +1265,9 @@ void view3d_main_region_draw(const bContext *C, ARegion *ar) GPU_free_images_old(); GPU_pass_cache_garbage_collect(); + /* No depth test for drawing action zones afterwards. */ + glDisable(GL_DEPTH_TEST); + v3d->flag |= V3D_INVALID_BACKBUF; } |