1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

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

(cherry picked from commit 71d1909b39)
This commit is contained in:
Aaron Franke
2020-11-19 05:29:37 -05:00
committed by Rémi Verschelde
parent 16181a38eb
commit b9641efc5c

View File

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