Add per-scene UndoRedo
This commit is contained in:
parent
99548e521d
commit
ece3df3938
122 changed files with 1498 additions and 642 deletions
|
|
@ -40,6 +40,7 @@
|
|||
#include "scene/resources/texture.h"
|
||||
|
||||
class ViewPanner;
|
||||
class EditorUndoRedoManager;
|
||||
|
||||
class TextureRegionEditor : public AcceptDialog {
|
||||
GDCLASS(TextureRegionEditor, AcceptDialog);
|
||||
|
|
@ -68,7 +69,7 @@ class TextureRegionEditor : public AcceptDialog {
|
|||
VScrollBar *vscroll = nullptr;
|
||||
HScrollBar *hscroll = nullptr;
|
||||
|
||||
UndoRedo *undo_redo = nullptr;
|
||||
Ref<EditorUndoRedoManager> undo_redo;
|
||||
|
||||
Vector2 draw_ofs;
|
||||
float draw_zoom = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue