summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-23 23:12:08 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-23 23:12:41 -0300
commit3b019bf644f61aaa2eaf9276448d97fb6e6a868a (patch)
treed9ccb2ad27aedad99d9781be1d1030bd28baf661 /core
parent2527566ca899e2ac9d8baa8b4e68a22bf7077f35 (diff)
downloadredot-engine-3b019bf644f61aaa2eaf9276448d97fb6e6a868a.tar.gz
Ability to delete, drag and drop audio buses!
Diffstat (limited to 'core')
-rw-r--r--core/undo_redo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/undo_redo.cpp b/core/undo_redo.cpp
index 1a0ccc4a7e..8326e262b6 100644
--- a/core/undo_redo.cpp
+++ b/core/undo_redo.cpp
@@ -323,8 +323,10 @@ void UndoRedo::redo() {
void UndoRedo::undo() {
ERR_FAIL_COND(action_level>0);
+ print_line("undo");
if (current_action<0)
return; //nothing to redo
+ print_line("CACTION IS: "+actions[current_action].name);
_process_operation_list(actions[current_action].undo_ops.front());
current_action--;
version--;