Merge pull request #36347 from Janglee123/persistence-view-mode-for-new-scene

Persisting view mode for new scene
This commit is contained in:
Rémi Verschelde 2020-02-20 07:12:12 +01:00 committed by GitHub
commit 3afc47bbd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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