summaryrefslogtreecommitdiffstats
path: root/editor/plugins/sprite_2d_editor_plugin.h
diff options
context:
space:
mode:
authortrollodel <33117082+trollodel@users.noreply.github.com>2022-01-27 10:36:51 +0100
committertrollodel <33117082+trollodel@users.noreply.github.com>2022-02-14 14:16:24 +0100
commit05b56f316ddc94c2bb55b62477ec3914fe81a220 (patch)
tree928404930fc4f99dfb45d64a6b510e66e2bcc357 /editor/plugins/sprite_2d_editor_plugin.h
parentf5a27ee4fe45925cebfda11ea7d53ca8f39e0a13 (diff)
downloadredot-engine-05b56f316ddc94c2bb55b62477ec3914fe81a220.tar.gz
Remove most EditorNode constructor parameters and fields
Diffstat (limited to 'editor/plugins/sprite_2d_editor_plugin.h')
-rw-r--r--editor/plugins/sprite_2d_editor_plugin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/sprite_2d_editor_plugin.h b/editor/plugins/sprite_2d_editor_plugin.h
index 46c1d62209..87241cad63 100644
--- a/editor/plugins/sprite_2d_editor_plugin.h
+++ b/editor/plugins/sprite_2d_editor_plugin.h
@@ -100,7 +100,6 @@ class Sprite2DEditorPlugin : public EditorPlugin {
GDCLASS(Sprite2DEditorPlugin, EditorPlugin);
Sprite2DEditor *sprite_editor;
- EditorNode *editor;
public:
virtual String get_name() const override { return "Sprite2D"; }
@@ -109,7 +108,7 @@ public:
virtual bool handles(Object *p_object) const override;
virtual void make_visible(bool p_visible) override;
- Sprite2DEditorPlugin(EditorNode *p_node);
+ Sprite2DEditorPlugin();
~Sprite2DEditorPlugin();
};