diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-11-01 18:50:06 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-11-01 18:50:06 +0300 |
commit | cd7e43f29f3b80dd5959423e6ce00be7efcbaec7 (patch) | |
tree | 60b7ffe0bdbf0c8fcdd1015951e6ca81fe401d84 /source/blender | |
parent | a62e79022a1c3b133adc0f4f2e100d4e5dd42dd5 (diff) |
Eevee: Fix crash when using only 1 viewport sample + volumetrics
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_volumes.c | 2 |
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 d604240f4ef..4ee50cfb082 100644 --- a/source/blender/draw/engines/eevee/eevee_volumes.c +++ b/source/blender/draw/engines/eevee/eevee_volumes.c @@ -304,7 +304,7 @@ int EEVEE_volumes_init(EEVEE_SceneLayerData *sldata, EEVEE_Data *vedata) volumetrics->use_lights = BKE_collection_engine_property_value_get_bool(props, "volumetric_lights"); - return EFFECT_VOLUMETRIC; + return EFFECT_VOLUMETRIC | EFFECT_POST_BUFFER; } /* Cleanup to release memory */ |