diff options
author | Brody Eller <wviper3@gmail.com> | 2019-01-01 12:47:34 -0500 |
---|---|---|
committer | Brody Eller <wviper3@gmail.com> | 2019-01-01 13:44:09 -0500 |
commit | 440d62acd1a23775e8932f27e569253708a8893e (patch) | |
tree | 397695dee0fc7b6e8c231b436422471ffeecb8b2 | |
parent | f1d1ecb383d79e0fb494977b072209aa5f998c08 (diff) |
Fix viewport not updating with make_current() for Camera2D
-rw-r--r-- | scene/2d/camera_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/camera_2d.cpp b/scene/2d/camera_2d.cpp index 97accbda3e..aeee301e6e 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() { |