From 734166f796f7ec592a912429e9a99de123b63f12 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 0f5fa6543e03..08baa7e3876b 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;