Explorar o código

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

Fix crash in editor when open new scene in editing
reduz %!s(int64=11) %!d(string=hai) anos
pai
achega
9f01f9aa95
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/editor/editor_node.cpp

+ 1 - 1
tools/editor/editor_node.cpp

@@ -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) {