From b9641efc5c2d8f0a9ed360620f1a43e52c894064 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Thu, 19 Nov 2020 05:29:37 -0500 Subject: [PATCH] Update the 3D grid when the "View Grid" checkbox is changed (cherry picked from commit 71d1909b39b96c1fde253b575bc91c33219f60a3) --- editor/plugins/spatial_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index aeec28eaee1..abe949c952b 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -4993,6 +4993,8 @@ void SpatialEditor::_menu_item_pressed(int p_option) { } } } + _finish_grid(); + _init_grid(); view_menu->get_popup()->set_item_checked(view_menu->get_popup()->get_item_index(p_option), grid_enabled);