From 8baa85d6b4428b3fcbcd7ef160e608471ea7606b Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 26 Jun 2016 16:34:28 -0300 Subject: [PATCH] remove the warning of instances in use at exit --- tools/editor/editor_node.cpp | 2 +- tools/editor/scenes_dock.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index c02da178dc4..f6278e350a5 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -6425,7 +6425,7 @@ EditorNode::EditorNode() { set_process_unhandled_input(true); _playing_edited=false; - Panel *errors = memnew( Panel ); +// Panel *errors = memnew( Panel ); load_errors = memnew( RichTextLabel ); // load_errors->set_readonly(true); load_error_dialog = memnew( AcceptDialog ); diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp index 44832c84ebd..cbd7df9d186 100644 --- a/tools/editor/scenes_dock.cpp +++ b/tools/editor/scenes_dock.cpp @@ -1668,7 +1668,7 @@ ScenesDock::ScenesDock(EditorNode *p_editor) { button_favorite->set_focus_mode(FOCUS_NONE); - Control *spacer = memnew( Control); +// Control *spacer = memnew( Control);