Make orthogonal view mode persistent in new scene

Fixes #36339.
This commit is contained in:
janglee 2020-02-19 12:52:31 +05:30
parent 7c5ce0ac7c
commit d3c580f0bc
1 changed files with 2 additions and 0 deletions

View File

@ -2147,6 +2147,8 @@ void SpatialEditorViewport::_notification(int p_what) {
set_process(visible); set_process(visible);
if (visible) { if (visible) {
orthogonal = view_menu->get_popup()->is_item_checked(view_menu->get_popup()->get_item_index(VIEW_ORTHOGONAL));
_update_name();
_update_camera(0); _update_camera(0);
} else { } else {
set_freelook_active(false); set_freelook_active(false);