Skip to content

Commit

Permalink
Merge pull request #24689 from BrodyEller/master
Browse files Browse the repository at this point in the history
Fix viewport not updating with make_current() for Camera2D
  • Loading branch information
akien-mga authored Jan 4, 2019
2 parents bd6ab53 + 440d62a commit 2c118d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/2d/camera_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2c118d7

Please sign in to comment.