mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Add EditorUndoRedoManager singleton
This commit is contained in:
parent
91fedb60de
commit
b58111588a
89 changed files with 551 additions and 546 deletions
|
@ -29,7 +29,6 @@
|
|||
/**************************************************************************/
|
||||
|
||||
#include "openxr_action_editor.h"
|
||||
#include "editor/editor_node.h"
|
||||
|
||||
void OpenXRActionEditor::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_do_set_name", "name"), &OpenXRActionEditor::_do_set_name);
|
||||
|
@ -125,7 +124,7 @@ void OpenXRActionEditor::_on_remove_action() {
|
|||
}
|
||||
|
||||
OpenXRActionEditor::OpenXRActionEditor(Ref<OpenXRAction> p_action) {
|
||||
undo_redo = EditorNode::get_undo_redo();
|
||||
undo_redo = EditorUndoRedoManager::get_singleton();
|
||||
action = p_action;
|
||||
|
||||
set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue