Make some debug prints verbose-only, remove others
This commit is contained in:
parent
d442f3d0aa
commit
52466d57e9
139 changed files with 172 additions and 803 deletions
|
|
@ -1144,15 +1144,12 @@ void VisualScriptBuiltinFunc::exec_func(BuiltinFunc p_func, const Variant **p_in
|
|||
case VisualScriptBuiltinFunc::TEXT_PRINTERR: {
|
||||
|
||||
String str = *p_inputs[0];
|
||||
|
||||
//str+="\n";
|
||||
print_error(str);
|
||||
|
||||
} break;
|
||||
case VisualScriptBuiltinFunc::TEXT_PRINTRAW: {
|
||||
String str = *p_inputs[0];
|
||||
|
||||
//str+="\n";
|
||||
String str = *p_inputs[0];
|
||||
OS::get_singleton()->print("%s", str.utf8().get_data());
|
||||
|
||||
} break;
|
||||
|
|
|
|||
|
|
@ -882,7 +882,6 @@ void VisualScriptEditor::_member_selected() {
|
|||
ERR_FAIL_COND(!ti);
|
||||
|
||||
selected = ti->get_metadata(0);
|
||||
//print_line("selected: "+String(selected));
|
||||
|
||||
if (ti->get_parent() == members->get_root()->get_children()) {
|
||||
|
||||
|
|
|
|||
|
|
@ -394,7 +394,6 @@ void VisualScriptFunctionCall::_update_method_cache() {
|
|||
}
|
||||
}
|
||||
|
||||
//print_line("BASE: "+String(type)+" FUNC: "+String(function));
|
||||
MethodBind *mb = ClassDB::get_method(type, function);
|
||||
if (mb) {
|
||||
use_default_args = mb->get_default_argument_count();
|
||||
|
|
|
|||
|
|
@ -285,7 +285,6 @@ void VisualScriptPropertySelector::_update_search() {
|
|||
|
||||
Ref<Texture> icon;
|
||||
script_methods = false;
|
||||
print_line("name: " + E->get().name);
|
||||
String rep = E->get().name.replace("*", "");
|
||||
if (E->get().name == "*Script Methods") {
|
||||
icon = get_icon("Script", "EditorIcons");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue