Fix #123269: Shadow jittering when navigating

When navigating the viewport, the shadow jittering wasn't always
updated anymore. Regression introduced by e1ee3ed7df

Pull Request: https://projects.blender.org/blender/blender/pulls/123282
This commit is contained in:
Jeroen Bakker
2024-06-17 09:34:25 +02:00
committed by Jeroen Bakker
parent 30b3bc8f2b
commit 8e2f51af58

View File

@@ -89,6 +89,9 @@ void Instance::init(const int2 &output_res,
if (is_painting()) {
sampling.reset();
}
if (is_navigating() && scene->eevee.flag & SCE_EEVEE_SHADOW_JITTERED_VIEWPORT) {
sampling.reset();
}
update_eval_members();