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>2020-11-06 18:44:02 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-11-06 18:44:15 +0300
commit998ae295493fed2538ff2b4f5301487923a4fec3 (patch)
tree45cb876a411e9ea0efeb42fe1b1008f3337a0174 /source/blender/draw/engines/eevee/eevee_effects.c
parent8df84f7be48bf64984976edf96f68dc7d7471b76 (diff)
Fix T82220 Missing viewport update after manual "HDRI Preview Size" input
This is caused by the TAA being reset after the init phase, leading to 1 sample being kept as valid when it is clearly not. To fix this, we run the lookdev validation before TAA init. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D9452
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_effects.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_effects.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_effects.c b/source/blender/draw/engines/eevee/eevee_effects.c
index 3b2a3cc7c01..ca583143572 100644
--- a/source/blender/draw/engines/eevee/eevee_effects.c
+++ b/source/blender/draw/engines/eevee/eevee_effects.c
@@ -87,6 +87,10 @@ void EEVEE_effects_init(EEVEE_ViewLayerData *sldata,
stl->effects->taa_render_sample = 1;
}
+ /* WORKAROUND: EEVEE_lookdev_init can reset TAA and needs a stl->effect.
+ * So putting this before EEVEE_temporal_sampling_init for now. */
+ EEVEE_lookdev_init(vedata);
+
effects = stl->effects;
effects->enabled_effects = 0;