Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-04-04 18:17:40 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-04-04 18:59:57 +0300
commit9fdc16e2047cbaac2d343be0d94a290f28bae967 (patch)
tree98ed4912f4663444656095c30a0d3e5774280809 /source/blender/draw
parent3b2ea265547c4bff69b37268e50463c7f020b30d (diff)
Fix T63278 Eevee: LookDev: Volumetric on even if Scene World is off
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/eevee/eevee_volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_volumes.c b/source/blender/draw/engines/eevee/eevee_volumes.c
index 7ba5e603e36..b752aae99f4 100644
--- a/source/blender/draw/engines/eevee/eevee_volumes.c
+++ b/source/blender/draw/engines/eevee/eevee_volumes.c
@@ -391,7 +391,7 @@ void EEVEE_volumes_cache_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata)
/* World Volumetric */
struct World *wo = scene->world;
- if (wo != NULL && wo->use_nodes && wo->nodetree) {
+ if (wo != NULL && wo->use_nodes && wo->nodetree && !LOOK_DEV_STUDIO_LIGHT_ENABLED(draw_ctx->v3d)) {
struct GPUMaterial *mat = EEVEE_material_world_volume_get(scene, wo);
grp = DRW_shgroup_material_empty_tri_batch_create(mat,