From 440d62acd1a23775e8932f27e569253708a8893e Mon Sep 17 00:00:00 2001 From: Brody Eller Date: Tue, 1 Jan 2019 12:47:34 -0500 Subject: [PATCH] Fix viewport not updating with make_current() for Camera2D --- scene/2d/camera_2d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/2d/camera_2d.cpp b/scene/2d/camera_2d.cpp index 97accbda3e4..aeee301e6e2 100644 --- a/scene/2d/camera_2d.cpp +++ b/scene/2d/camera_2d.cpp @@ -410,6 +410,7 @@ void Camera2D::make_current() { } else { get_tree()->call_group_flags(SceneTree::GROUP_CALL_REALTIME, group_name, "_make_current", this); } + _update_scroll(); } void Camera2D::clear_current() {