Cleanup remaining EditorUndoRedoManager usages
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user