From 71d1909b39b96c1fde253b575bc91c33219f60a3 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Thu, 19 Nov 2020 05:29:37 -0500 Subject: Update the 3D grid when the "View Grid" checkbox is changed --- editor/plugins/node_3d_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor') diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 28acb26012..fa7300c930 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -5013,6 +5013,8 @@ void Node3DEditor::_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); -- cgit v1.2.3