Merge pull request #564 from marynate/PR-fix-open-subscene-tab
Fixed issue #429: in scene tab, clicking on some instance folder, change all the others views
This commit is contained in:
commit
ecea1f34d3
@ -2730,10 +2730,10 @@ Error EditorNode::load_scene(const String& p_scene) {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
set_edited_scene(new_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);
|
property_editor->edit(new_scene);
|
||||||
scene_import_metadata = sdata->get_import_metadata();
|
scene_import_metadata = sdata->get_import_metadata();
|
||||||
_get_scene_metadata();
|
|
||||||
|
|
||||||
editor_data.get_undo_redo().clear_history();
|
editor_data.get_undo_redo().clear_history();
|
||||||
saved_version=editor_data.get_undo_redo().get_version();
|
saved_version=editor_data.get_undo_redo().get_version();
|
||||||
|
Loading…
Reference in New Issue
Block a user