Fix editor crash after closing scene with certain types of nodes
This commit is contained in:
parent
68d3438a93
commit
868832bca7
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue