Merge pull request #383 from sanikoyes/hotfix-Crash-In-Editor

Fix crash in editor when open new scene in editing
This commit is contained in:
reduz 2014-05-08 10:32:35 -03:00
commit 9f01f9aa95
1 changed files with 1 additions and 1 deletions

View File

@ -1569,8 +1569,8 @@ void EditorNode::_cleanup_scene() {
editor_history.clear();
_hide_top_editors();
animation_editor->cleanup();
resources_dock->cleanup();
property_editor->edit(NULL);
resources_dock->cleanup();
scene_import_metadata.unref();
set_edited_scene(NULL);
if (scene) {