You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fix editor crash after closing scene with certain types of nodes
This commit is contained in:
@@ -1562,6 +1562,10 @@ void EditorNode::_edit_current() {
|
|||||||
scene_tree_dock->set_selected(NULL);
|
scene_tree_dock->set_selected(NULL);
|
||||||
property_editor->edit( NULL );
|
property_editor->edit( NULL );
|
||||||
object_menu->set_disabled(true);
|
object_menu->set_disabled(true);
|
||||||
|
|
||||||
|
if (editor_plugin_over)
|
||||||
|
editor_plugin_over->make_visible(false);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user