Merge pull request #53728 from groud/fix_forgotten_print

Fix useless debug print
This commit is contained in:
Rémi Verschelde 2021-10-12 22:12:31 +02:00 committed by GitHub
commit 718ed15f06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,14 +104,6 @@ void UndoRedo::create_action(const String &p_name, MergeMode p_mode) {
memdelete(obj);
}
}
String s = "removed " + E->get().name + ": ";
for (int j = 0; j < VARIANT_ARG_MAX; j++) {
if (E->get().args[j].get_type() == Variant::NIL) {
break;
}
s += String(E->get().args[j]);
}
print_line(s);
E->erase();
}
}