forked from bartvdbraak/blender
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.
This commit is contained in:
parent
57bb575aa8
commit
b3a2de9d18
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user