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
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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