mirror of
https://github.com/godotengine/godot.git
synced 2024-12-16 08:03:42 +00:00
Update the 3D grid when the "View Grid" checkbox is changed
(cherry picked from commit 71d1909b39
)
This commit is contained in:
parent
16181a38eb
commit
b9641efc5c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user