From fafcc52d1cdf13a57fad613944109169b3be5594 Mon Sep 17 00:00:00 2001 From: krzycho Date: Mon, 22 Jun 2015 14:42:52 +0200 Subject: [PATCH] added some missing biddings --- core/undo_redo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/undo_redo.cpp b/core/undo_redo.cpp index a93e469f3fc..bb001c9f73a 100644 --- a/core/undo_redo.cpp +++ b/core/undo_redo.cpp @@ -458,4 +458,7 @@ void UndoRedo::_bind_methods() { ObjectTypeDB::bind_method(_MD("add_undo_property","object", "property", "value"),&UndoRedo::add_undo_property); ObjectTypeDB::bind_method(_MD("add_do_reference","object"),&UndoRedo::add_do_reference); ObjectTypeDB::bind_method(_MD("add_undo_reference","object"),&UndoRedo::add_undo_reference); + ObjectTypeDB::bind_method(_MD("clear_history"),&UndoRedo::clear_history); + ObjectTypeDB::bind_method(_MD("get_current_action_name"),&UndoRedo::get_current_action_name); + ObjectTypeDB::bind_method(_MD("get_version"),&UndoRedo::get_version); } \ No newline at end of file