diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2020-11-19 05:29:37 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2020-11-19 05:29:37 -0500 |
commit | 71d1909b39b96c1fde253b575bc91c33219f60a3 (patch) | |
tree | 86fee01b07b42a167e3a62d5db471f344452ef68 /editor | |
parent | 68f24175286ec26a4a9a1566d8e25a1fbe6f4caa (diff) |
Update the 3D grid when the "View Grid" checkbox is changed
Diffstat (limited to 'editor')
-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 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); |