When Camera2D enters tree, ensure first update is not lost
This commit is contained in:
parent
edb503cd00
commit
3f83c3a0ac
1 changed files with 1 additions and 1 deletions
|
|
@ -247,8 +247,8 @@ void Camera2D::_notification(int p_what) {
|
|||
add_to_group(canvas_group_name);
|
||||
|
||||
_update_process_callback();
|
||||
_update_scroll();
|
||||
first = true;
|
||||
_update_scroll();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue