Fixed grid disappearance

This commit is contained in:
Yadnesh Kulkarni 2023-06-25 21:36:47 -04:00 committed by Yadnesh Kulkarni
parent 3aaa787094
commit a8dde286ce
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() {