diff options
Diffstat (limited to 'core/undo_redo.cpp')
-rw-r--r-- | core/undo_redo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/undo_redo.cpp b/core/undo_redo.cpp index ecbda1d3fd..d6d32ccaef 100644 --- a/core/undo_redo.cpp +++ b/core/undo_redo.cpp @@ -239,7 +239,7 @@ void UndoRedo::_process_operation_list(List<Operation>::Element *E) { case Operation::TYPE_METHOD: { - obj->call(op.name,VARIANT_ARGS_FROM_ARRAY(op.args)); + obj->call(op.name,VARIANT_ARGS_FROM_ARRAY(op.args)); #ifdef TOOLS_ENABLED Resource* res = obj->cast_to<Resource>(); if (res) @@ -450,10 +450,10 @@ void UndoRedo::_bind_methods() { ObjectTypeDB::bind_method(_MD("create_action","name","mergeable"),&UndoRedo::create_action, DEFVAL(false) ); ObjectTypeDB::bind_method(_MD("commit_action"),&UndoRedo::commit_action); - + //ObjectTypeDB::bind_method(_MD("add_do_method","p_object", "p_method", "VARIANT_ARG_LIST"),&UndoRedo::add_do_method); //ObjectTypeDB::bind_method(_MD("add_undo_method","p_object", "p_method", "VARIANT_ARG_LIST"),&UndoRedo::add_undo_method); - + { MethodInfo mi; mi.name="add_do_method"; |