Merge pull request #24689 from BrodyEller/master

Fix viewport not updating with make_current() for Camera2D
This commit is contained in:
Rémi Verschelde 2019-01-04 19:04:13 +01:00 committed by GitHub
commit 2c118d754d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -410,6 +410,7 @@ void Camera2D::make_current() {
} else { } else {
get_tree()->call_group_flags(SceneTree::GROUP_CALL_REALTIME, group_name, "_make_current", this); get_tree()->call_group_flags(SceneTree::GROUP_CALL_REALTIME, group_name, "_make_current", this);
} }
_update_scroll();
} }
void Camera2D::clear_current() { void Camera2D::clear_current() {