Fix T71539 EEVEE: Still redraw during playback when it shouldn't

This commit is contained in:
Clément Foucault 2020-06-26 01:36:44 +02:00
parent 46815753cf
commit c9d94c2aba
Notes: blender-bot 2023-12-08 16:39:08 +01:00
Referenced by issue #71539, With Playback 'All 3D viewport' disabled, playback still happens due to Eevee temporal AA [Material, Rendered view]
1 changed files with 3 additions and 2 deletions

View File

@ -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();
}
}