1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Update the 3D grid when the "View Grid" checkbox is changed

This commit is contained in:
Aaron Franke
2020-11-19 05:29:37 -05:00
parent 68f2417528
commit 71d1909b39

View File

@@ -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);