diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-03-19 15:29:22 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-03-19 15:29:51 +0300 |
commit | 0aca8b017436395fc3af62d6265d16fd6d531f1a (patch) | |
tree | 9df276fe4f8a604bf6b68af5032372d90ea0571b /source/blender/draw/engines/eevee/eevee_private.h | |
parent | b0c6c9f11df79bfa4d49e11e2f36eb1e96f9b679 (diff) |
EEVEE/LookDev: Fix Cache In Quad View
When using LookDev in Quad view the cache was only updated for the first
Q-view. The evaluation data of the last cache was not stored with the
lightprobe textures. As the evaluation data was reused between the
Q-views only the lightprobe textures of the first view was updated.
With this patch the evaluated data is stored amongside the actual
lightprobe textures.
Fix T59046
Reviewed By: fclem
Maniphest Tasks: T59046
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_private.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index e0ee689f5df..c9ae245c550 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -486,8 +486,6 @@ typedef struct EEVEE_LightProbesInfo { float visibility_blur; float intensity_fac; int shres; - int studiolight_index; - float studiolight_rot_z; EEVEE_LightProbeVisTest planar_vis_tests[MAX_PLANAR]; /* UBO Storage : data used by UBO */ EEVEE_LightProbe probe_data[MAX_PROBE]; @@ -818,6 +816,11 @@ typedef struct EEVEE_PrivateData { /* Color Management */ bool use_color_render_settings; + + /* LookDev Settings */ + int studiolight_index; + float studiolight_rot_z; + } EEVEE_PrivateData; /* Transient data */ /* eevee_data.c */ |