summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2018-02-05 11:18:49 +0100
committerHein-Pieter van Braam <hp@tmm.cx>2018-02-05 11:18:49 +0100
commite836a7d88d29347c509ef80a9e5cd63c682d5ad4 (patch)
treed51216d53506549e418ba52a6aa44a9847f03bed
parentea99b90a77228189d6dc38ab7b7ada967d668ed8 (diff)
downloadredot-engine-e836a7d88d29347c509ef80a9e5cd63c682d5ad4.tar.gz
Kill an old debugging message
When running the engine with -d we get a message on the command-line for each control being clicked. After discussing with @reduz it seems that this is old and should be removed. Commented out as requested.
-rw-r--r--core/script_debugger_local.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/script_debugger_local.cpp b/core/script_debugger_local.cpp
index 0da377453e..c0e115e300 100644
--- a/core/script_debugger_local.cpp
+++ b/core/script_debugger_local.cpp
@@ -291,7 +291,8 @@ void ScriptDebuggerLocal::profiling_end() {
void ScriptDebuggerLocal::send_message(const String &p_message, const Array &p_args) {
- print_line("MESSAGE: '" + p_message + "' - " + String(Variant(p_args)));
+ // This needs to be cleaned up entirely.
+ // print_line("MESSAGE: '" + p_message + "' - " + String(Variant(p_args)));
}
void ScriptDebuggerLocal::send_error(const String &p_func, const String &p_file, int p_line, const String &p_err, const String &p_descr, ErrorHandlerType p_type, const Vector<ScriptLanguage::StackInfo> &p_stack_info) {