Skip to content

Commit

Permalink
Make orthogonal view mode persistent in new scene
Browse files Browse the repository at this point in the history
  • Loading branch information
Janglee123 committed Feb 19, 2020
1 parent 7c5ce0a commit d3c580f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/plugins/spatial_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d3c580f

Please sign in to comment.