Fixed grid disappearance

(cherry picked from commit a8dde286ce)
This commit is contained in:
Yadnesh Kulkarni 2023-06-25 21:36:47 -04:00 committed by Yuri Sizov
parent fa6fb0ac70
commit 09c245fd74
1 changed files with 2 additions and 0 deletions

View File

@ -7925,6 +7925,8 @@ void Node3DEditor::clear() {
} }
view_menu->get_popup()->set_item_checked(view_menu->get_popup()->get_item_index(MENU_VIEW_GRID), true); view_menu->get_popup()->set_item_checked(view_menu->get_popup()->get_item_index(MENU_VIEW_GRID), true);
grid_enabled = true;
grid_init_draw = false;
} }
void Node3DEditor::_sun_direction_draw() { void Node3DEditor::_sun_direction_draw() {