Skip to content

Commit

Permalink
Merge pull request godotengine#61532 from KoBeWi/random_bugs_be_like
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored May 29, 2022
2 parents 823f1d3 + 7bae949 commit 5dd6679
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/2d/visible_on_screen_notifier_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ void VisibleOnScreenNotifier2D::set_rect(const Rect2 &p_rect) {
if (is_inside_tree()) {
RS::get_singleton()->canvas_item_set_visibility_notifier(get_canvas_item(), true, rect, callable_mp(this, &VisibleOnScreenNotifier2D::_visibility_enter), callable_mp(this, &VisibleOnScreenNotifier2D::_visibility_exit));
}
update();
}

Rect2 VisibleOnScreenNotifier2D::get_rect() const {
Expand Down

0 comments on commit 5dd6679

Please sign in to comment.