From e21a40f1ec0ef21fc20773133c2b7e328bcc8c47 Mon Sep 17 00:00:00 2001 From: Danni <34800072+KeyboardDanni@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:31:57 -0500 Subject: [PATCH] Ensure Camera2D scroll is updated on transform like 3.x --- scene/2d/camera_2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/2d/camera_2d.cpp b/scene/2d/camera_2d.cpp index 0f5fa6543e03e5..5d045d942a57f8 100644 --- a/scene/2d/camera_2d.cpp +++ b/scene/2d/camera_2d.cpp @@ -229,7 +229,7 @@ void Camera2D::_notification(int p_what) { } break; case NOTIFICATION_TRANSFORM_CHANGED: { - if (!is_processing_internal() && !is_physics_processing_internal()) { + if (!position_smoothing_enabled || !_is_editing_in_editor()) { _update_scroll(); } } break;