You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Make orthogonal view mode persistent in new scene
Fixes #36339.
(cherry picked from commit d3c580f0bc)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user