Fix #108704: scrubbing timeline does not to proper sampling like normal frame change

This was broken in 037b3f87bd.
This fix brings the original problem back a bit in that there will be an additional
frame update now, but really only a redraw should be necessary without a
depsgraph update.

The depsgraph update is caused by the `NC_SCENE | ND_FRAME` notifier,
which is checked for in `wm_event_do_notifiers`. Changing that in more depth
is a bit risky for 3.6 now unfortunately.
This commit is contained in:
Jacques Lucke
2023-06-20 10:51:11 +02:00
parent 58b5d38824
commit e40f993a70

View File

@@ -265,7 +265,7 @@ static bool need_extra_redraw_after_scrubbing_ends(bContext *C)
return true;
}
Scene *scene = CTX_data_scene(C);
if (scene->eevee.flag & SCE_EEVEE_TAA_REPROJECTION) {
if (scene->eevee.taa_samples != 1) {
return true;
}
wmWindowManager *wm = CTX_wm_manager(C);