You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Add per-scene UndoRedo
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user