diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-20 07:12:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 07:12:12 +0100 |
commit | 3afc47bbd68c3ae169ef8e0a051ee71226dca647 (patch) | |
tree | 3493c905a599f3969fa901f6f43a92b0c8bced6b | |
parent | f8c87c0ac42a9de95cb0d046fdb58e3eeacc2471 (diff) | |
parent | d3c580f0bc69ce3ee62ebf7bac115d3a48c3793c (diff) |
Merge pull request #36347 from Janglee123/persistence-view-mode-for-new-scene
Persisting view mode for new scene
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 88b4f011ee..b890bc2fb8 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -2147,6 +2147,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); |