diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-06-26 02:36:44 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-06-26 02:36:44 +0300 |
commit | c9d94c2abaf2f6ebf8b95faab34b04e5ebfba520 (patch) | |
tree | 7d38a268a5b275deb25c34e3c7ed99a258c917f2 /source | |
parent | 46815753cf0d8045b8a160b46de5f97013c2e32f (diff) |
Fix T71539 EEVEE: Still redraw during playback when it shouldn't
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_temporal_sampling.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_temporal_sampling.c b/source/blender/draw/engines/eevee/eevee_temporal_sampling.c index 04878c7268a..714481c39f1 100644 --- a/source/blender/draw/engines/eevee/eevee_temporal_sampling.c +++ b/source/blender/draw/engines/eevee/eevee_temporal_sampling.c @@ -365,8 +365,9 @@ void EEVEE_temporal_sampling_draw(EEVEE_Data *vedata) effects->taa_current_sample += 1; } else { - if ((effects->taa_total_sample == 0) || - (effects->taa_current_sample < effects->taa_total_sample)) { + if (!DRW_state_is_playback() && + ((effects->taa_total_sample == 0) || + (effects->taa_current_sample < effects->taa_total_sample))) { DRW_viewport_request_redraw(); } } |