diff options
Diffstat (limited to 'source/blender/draw/engines/overlay/overlay_background.c')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_background.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_background.c b/source/blender/draw/engines/overlay/overlay_background.c index 880f5c49b3e..286a9311989 100644 --- a/source/blender/draw/engines/overlay/overlay_background.c +++ b/source/blender/draw/engines/overlay/overlay_background.c @@ -63,7 +63,8 @@ void OVERLAY_background_cache_init(OVERLAY_Data *vedata) copy_v3_v3(color_override, &scene->world->horr); color_override[3] = 1.0f; } - else if (v3d->shading.background_type == V3D_SHADING_BACKGROUND_VIEWPORT) { + else if (v3d->shading.background_type == V3D_SHADING_BACKGROUND_VIEWPORT && + v3d->shading.type <= OB_SOLID) { background_type = BG_SOLID; copy_v3_v3(color_override, v3d->shading.background_color); color_override[3] = 1.0f; |