diff options
author | Yadnesh Kulkarni <ykulkar2@uncc.edu> | 2023-06-25 21:36:47 -0400 |
---|---|---|
committer | Yadnesh Kulkarni <yadneshdkulkarni@gmail.com> | 2023-06-26 09:27:25 -0400 |
commit | a8dde286cedd317ddc49aa6ac6129529c443fe2f (patch) | |
tree | 510dd708e938d81603e5389f0259339d84c439df | |
parent | 3aaa7870949853d3f42a1f8b67d16f8f2602931c (diff) | |
download | redot-engine-a8dde286cedd317ddc49aa6ac6129529c443fe2f.tar.gz |
Fixed grid disappearance
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 4b65ce7304..136de43a5a 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() { |