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:
authorDalai Felinto <dfelinto@gmail.com>2018-05-25 20:50:43 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-05-25 20:51:18 +0300
commit768706c6a58fe6b93f3534ca65d1912cbf066e68 (patch)
tree5ae0eb97b9c3276c21b1c270d2fc616c0dac2d7b /source/blender/draw/engines/eevee/eevee_depth_of_field.c
parenta3a069f4935f72225ad7a0dc23bfc36b9fbed079 (diff)
Fix eevee render settings not working
This was no longer working since 15c2801aac33.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_depth_of_field.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_depth_of_field.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_depth_of_field.c b/source/blender/draw/engines/eevee/eevee_depth_of_field.c
index c275a5005ff..60c6175f4fa 100644
--- a/source/blender/draw/engines/eevee/eevee_depth_of_field.c
+++ b/source/blender/draw/engines/eevee/eevee_depth_of_field.c
@@ -84,7 +84,7 @@ int EEVEE_depth_of_field_init(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data *v
const DRWContextState *draw_ctx = DRW_context_state_get();
const Scene *scene_eval = DEG_get_evaluated_scene(draw_ctx->depsgraph);
- if (scene_eval->flag & SCE_EEVEE_DOF_ENABLED) {
+ if (scene_eval->eevee.flag & SCE_EEVEE_DOF_ENABLED) {
RegionView3D *rv3d = draw_ctx->rv3d;
if (!e_data.dof_downsample_sh) {