diff options
author | Franklin Sobrinho <franklin_gs@hotmail.com> | 2015-12-03 12:30:55 -0300 |
---|---|---|
committer | Franklin Sobrinho <franklin_gs@hotmail.com> | 2015-12-03 12:42:58 -0300 |
commit | 868832bca73e8a77d451f20d9de8db06a3c3e90f (patch) | |
tree | 34ac11db4c4952002dcaff1c6681f011bb886e5e /tools/editor/editor_node.cpp | |
parent | 68d3438a9351498909ffa0bfe79f51b74004e906 (diff) |
Fix editor crash after closing scene with certain types of nodes
Diffstat (limited to 'tools/editor/editor_node.cpp')
-rw-r--r-- | tools/editor/editor_node.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 7b96db56f2..c000a1346a 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -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; } |