From 1bad27e1f8460424fa4476fe65209aa250d43115 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 29 Aug 2015 22:59:25 -0300 Subject: -Properly keep animation editor and viewport state while switching scene tabs --- tools/editor/editor_node.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/editor/editor_node.cpp') diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index a82fdd5b7..9b6da314d 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -1765,6 +1765,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { int idx = editor_data.add_edited_scene(-1); _scene_tab_changed(idx); + editor_data.clear_editor_states(); //_cleanup_scene(); -- cgit v1.2.3-70-g09d2