From bc0ef64bedbfe5a2f091d518aafbf40f7d4c8f3a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 11 May 2015 21:23:29 -0300 Subject: [PATCH] fixed crash on make resources unique menu option, fixes #1874 --- tools/editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index a6625d72043..5e5d2a54090 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -2122,7 +2122,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { } editor_data.get_undo_redo().clear_history(); - if (editor_plugin_screen) { //reload editor plugin + if (editor_plugin_over) { //reload editor plugin editor_plugin_over->edit(NULL); editor_plugin_over->edit(current); }