From 5504e11fb7d083a84b30c4babcb8e5bffadec0f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gilles=20Roudi=C3=A8re?= Date: Tue, 12 Oct 2021 17:03:39 +0200 Subject: Fix useless debug print --- core/object/undo_redo.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'core/object/undo_redo.cpp') 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(); } } -- cgit v1.2.3