Add EditorUndoRedoManager singleton
This commit is contained in:
parent
91fedb60de
commit
b58111588a
89 changed files with 551 additions and 546 deletions
|
|
@ -977,8 +977,8 @@ void EditorPlugin::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(AFTER_GUI_INPUT_CUSTOM);
|
||||
}
|
||||
|
||||
Ref<EditorUndoRedoManager> EditorPlugin::get_undo_redo() {
|
||||
return EditorNode::get_undo_redo();
|
||||
EditorUndoRedoManager *EditorPlugin::get_undo_redo() {
|
||||
return EditorUndoRedoManager::get_singleton();
|
||||
}
|
||||
|
||||
EditorPluginCreateFunc EditorPlugins::creation_funcs[MAX_CREATE_FUNCS];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue