diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-06-26 14:42:41 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-06-26 14:42:47 +0300 |
commit | b3a2de9d181ab69c192c737e24a7b808081df06b (patch) | |
tree | e7089037e9b327293698aa826afe7f5ca3d4ed6a /source/blender | |
parent | 57bb575aa85e82ef10159e67d33a0b27ce6d9246 (diff) |
Fix T65951 Saving project right before rendering (Cycles) causes empty render-preview
Since we are now using the full framebuffer (color+depth) inside the image
editor, we need to disable the depth test by default.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 931142d2925..6bf79711ae5 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -602,6 +602,7 @@ static void image_main_region_draw(const bContext *C, ARegion *ar) UI_GetThemeColor3fv(TH_BACK, col); GPU_clear_color(col[0], col[1], col[2], 0.0f); GPU_clear(GPU_COLOR_BIT); + GPU_depth_test(false); image_user_refresh_scene(C, sima); |