Fix editor crash after closing scene with certain types of nodes

This commit is contained in:
Franklin Sobrinho 2015-12-03 12:30:55 -03:00
parent 68d3438a93
commit 868832bca7

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;
}