summaryrefslogtreecommitdiff
path: root/core/object/undo_redo.cpp
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2021-10-12 17:03:39 +0200
committerGilles Roudière <gilles.roudiere@gmail.com>2021-10-12 17:03:39 +0200
commit5504e11fb7d083a84b30c4babcb8e5bffadec0f5 (patch)
treeb1f71a8fbc28b9a0455ef80c314e5ee11a919021 /core/object/undo_redo.cpp
parente4288bf7283376adc274860744203faad34d83ec (diff)
Fix useless debug print
Diffstat (limited to 'core/object/undo_redo.cpp')
-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();
}
}