From a8dde286cedd317ddc49aa6ac6129529c443fe2f Mon Sep 17 00:00:00 2001 From: Yadnesh Kulkarni Date: Sun, 25 Jun 2023 21:36:47 -0400 Subject: [PATCH] Fixed grid disappearance --- editor/plugins/node_3d_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 4b65ce73041..136de43a5af 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -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); + grid_enabled = true; + grid_init_draw = false; } void Node3DEditor::_sun_direction_draw() {