When Camera2D enters tree, ensure first update is not lost

This commit is contained in:
Marcel Admiraal 2022-07-28 15:29:38 +01:00
parent edb503cd00
commit 3f83c3a0ac

View file

@ -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: {