Cleanup remaining EditorUndoRedoManager usages
This commit is contained in:
parent
cd3d6e63a6
commit
8a3d2f4e0c
59 changed files with 408 additions and 406 deletions
|
|
@ -35,8 +35,6 @@
|
|||
#include "editor/editor_plugin.h"
|
||||
#include "editor/editor_spin_slider.h"
|
||||
|
||||
class EditorUndoRedoManager;
|
||||
|
||||
class GradientTexture2DEditorRect : public Control {
|
||||
GDCLASS(GradientTexture2DEditorRect, Control);
|
||||
|
||||
|
|
@ -47,7 +45,6 @@ class GradientTexture2DEditorRect : public Control {
|
|||
};
|
||||
|
||||
Ref<GradientTexture2D> texture;
|
||||
Ref<EditorUndoRedoManager> undo_redo;
|
||||
bool snap_enabled = false;
|
||||
float snap_size = 0;
|
||||
|
||||
|
|
@ -77,7 +74,6 @@ class GradientTexture2DEditor : public VBoxContainer {
|
|||
GDCLASS(GradientTexture2DEditor, VBoxContainer);
|
||||
|
||||
Ref<GradientTexture2D> texture;
|
||||
Ref<EditorUndoRedoManager> undo_redo;
|
||||
|
||||
Button *reverse_button = nullptr;
|
||||
Button *snap_button = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue