mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add per-scene UndoRedo
This commit is contained in:
parent
99548e521d
commit
ece3df3938
122 changed files with 1498 additions and 642 deletions
|
@ -48,6 +48,7 @@ class TextEdit;
|
|||
class Tree;
|
||||
|
||||
class VisualShaderEditor;
|
||||
class EditorUndoRedoManager;
|
||||
|
||||
class VisualShaderNodePlugin : public RefCounted {
|
||||
GDCLASS(VisualShaderNodePlugin, RefCounted);
|
||||
|
@ -192,7 +193,7 @@ class VisualShaderEditor : public VBoxContainer {
|
|||
PanelContainer *error_panel = nullptr;
|
||||
Label *error_label = nullptr;
|
||||
|
||||
UndoRedo *undo_redo = nullptr;
|
||||
Ref<EditorUndoRedoManager> undo_redo;
|
||||
Point2 saved_node_pos;
|
||||
bool saved_node_pos_dirty = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue