Merge pull request #2981 from TheHX/pr-editor-crash

Fix editor crash after closing scene with certain types of nodes
This commit is contained in:
Rémi Verschelde 2015-12-03 16:51:02 +01:00
commit 145b8e52e6

View file

@ -1562,6 +1562,10 @@ void EditorNode::_edit_current() {
scene_tree_dock->set_selected(NULL);
property_editor->edit( NULL );
object_menu->set_disabled(true);
if (editor_plugin_over)
editor_plugin_over->make_visible(false);
return;
}