mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Add EditorUndoRedoManager singleton
This commit is contained in:
parent
91fedb60de
commit
b58111588a
89 changed files with 551 additions and 546 deletions
|
|
@ -229,7 +229,7 @@ void ShaderEditorPlugin::_close_shader(int p_index) {
|
|||
memdelete(c);
|
||||
edited_shaders.remove_at(p_index);
|
||||
_update_shader_list();
|
||||
EditorNode::get_undo_redo()->clear_history(); // To prevent undo on deleted graphs.
|
||||
EditorUndoRedoManager::get_singleton()->clear_history(); // To prevent undo on deleted graphs.
|
||||
}
|
||||
|
||||
void ShaderEditorPlugin::_resource_saved(Object *obj) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue