Kaynağa Gözat

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.
Hein-Pieter van Braam 7 yıl önce
ebeveyn
işleme
e836a7d88d
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      core/script_debugger_local.cpp

+ 2 - 1
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) {