summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-12 22:12:31 +0200
committerGitHub <noreply@github.com>2021-10-12 22:12:31 +0200
commit718ed15f06ed1e2316900d58b69a318cce421674 (patch)
tree2fe1c8ea34d4f7c912d02bf5de48a0f95137a932
parentfa3164e90c31e74d9fb244e91453fb2f58154138 (diff)
parent5504e11fb7d083a84b30c4babcb8e5bffadec0f5 (diff)
Merge pull request #53728 from groud/fix_forgotten_print
Fix useless debug print
-rw-r--r--core/object/undo_redo.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/object/undo_redo.cpp b/core/object/undo_redo.cpp
index 905bb587a8..289caf5247 100644
--- a/core/object/undo_redo.cpp
+++ b/core/object/undo_redo.cpp
@@ -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();
}
}