From 56437cddeb3b4ff362ff23db27e8eab84c820959 Mon Sep 17 00:00:00 2001 From: janglee Date: Wed, 19 Feb 2020 12:52:31 +0530 Subject: [PATCH] Make orthogonal view mode persistent in new scene Fixes #36339. (cherry picked from commit d3c580f0bc69ce3ee62ebf7bac115d3a48c3793c) --- editor/plugins/spatial_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 31e6b65640a..3a9a23d9c37 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -2122,6 +2122,8 @@ void SpatialEditorViewport::_notification(int p_what) { set_process(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); } else { set_freelook_active(false);