mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
Fixed when opening sub-scene by pressing sub-scene icon in scene tree, tab changed to script tab
This commit is contained in:
parent
77a15e2a3e
commit
87d27bb997
@ -2730,10 +2730,10 @@ Error EditorNode::load_scene(const String& p_scene) {
|
||||
}
|
||||
*/
|
||||
set_edited_scene(new_scene);
|
||||
scene_tree_dock->set_selected(new_scene);
|
||||
_get_scene_metadata();
|
||||
scene_tree_dock->set_selected(new_scene, true);
|
||||
property_editor->edit(new_scene);
|
||||
scene_import_metadata = sdata->get_import_metadata();
|
||||
_get_scene_metadata();
|
||||
|
||||
editor_data.get_undo_redo().clear_history();
|
||||
saved_version=editor_data.get_undo_redo().get_version();
|
||||
|
Loading…
Reference in New Issue
Block a user