You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Make some debug prints verbose-only, remove others
This commit is contained in:
@@ -642,7 +642,6 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
||||
str += p_args[i]->operator String();
|
||||
}
|
||||
|
||||
//str+="\n";
|
||||
print_line(str);
|
||||
r_ret = Variant();
|
||||
|
||||
@@ -657,7 +656,6 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
||||
str += p_args[i]->operator String();
|
||||
}
|
||||
|
||||
//str+="\n";
|
||||
print_line(str);
|
||||
r_ret = Variant();
|
||||
|
||||
@@ -672,7 +670,6 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
||||
str += p_args[i]->operator String();
|
||||
}
|
||||
|
||||
//str+="\n";
|
||||
print_line(str);
|
||||
r_ret = Variant();
|
||||
|
||||
@@ -686,7 +683,6 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
||||
str += p_args[i]->operator String();
|
||||
}
|
||||
|
||||
//str+="\n";
|
||||
print_error(str);
|
||||
r_ret = Variant();
|
||||
|
||||
@@ -698,7 +694,6 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
||||
str += p_args[i]->operator String();
|
||||
}
|
||||
|
||||
//str+="\n";
|
||||
OS::get_singleton()->print("%s", str.utf8().get_data());
|
||||
r_ret = Variant();
|
||||
|
||||
@@ -716,7 +711,6 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
||||
str += "At: " + script->debug_get_stack_level_source(0) + ":" + itos(script->debug_get_stack_level_line(0)); // + " in function '" + script->debug_get_stack_level_function(0) + "'";
|
||||
}
|
||||
|
||||
//str+="\n";
|
||||
print_line(str);
|
||||
r_ret = Variant();
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user