Fix: EEVEE-Next: Motion blur on image renders

overscan_changed is always true the first frame.
This commit is contained in:
Miguel Pozo
2023-09-08 20:29:29 +02:00
parent 930dadd600
commit 1faa522880

View File

@@ -125,7 +125,9 @@ void MotionBlurModule::sync()
{
/* Disable motion blur in viewport when changing camera projection type.
* Avoids really high velocities. */
if (inst_.velocity.camera_changed_projection() || inst_.camera.overscan_changed()) {
if (inst_.velocity.camera_changed_projection() ||
(inst_.is_viewport() && inst_.camera.overscan_changed()))
{
motion_blur_fx_enabled_ = false;
}