diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-07-18 13:55:11 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-07-18 13:55:26 +0300 |
commit | 687f1df5dbe256cd2f381350ad81526970595ee3 (patch) | |
tree | c579e951581fc68ac169adfeb3fa1536aeb5a56a /source/blender/draw/engines/eevee/eevee_temporal_sampling.c | |
parent | 7a82896fbc07218f2b5ffeac5d89a43fabd63e9d (diff) |
Fix T66811 Eevee: Flickering in weight paint mode
This was caused by TAA offset being computed as the 2nd sample even if the
sampling was reset afterwards.
The fix is to update the matrices after any potential reset.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_temporal_sampling.c')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_temporal_sampling.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_temporal_sampling.c b/source/blender/draw/engines/eevee/eevee_temporal_sampling.c index 099147a82dd..96924efa8bc 100644 --- a/source/blender/draw/engines/eevee/eevee_temporal_sampling.c +++ b/source/blender/draw/engines/eevee/eevee_temporal_sampling.c @@ -253,7 +253,6 @@ int EEVEE_temporal_sampling_init(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data if (!DRW_state_is_image_render()) { effects->taa_current_sample += 1; repro_flag = 0; - EEVEE_temporal_sampling_update_matrices(vedata); } } else { |