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:
reduz 2014-07-02 01:18:16 -03:00
commit ecea1f34d3

View File

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