From cd1d7294d8d150788c8d9a19ca56038b864360a0 Mon Sep 17 00:00:00 2001 From: trollodel <33117082+trollodel@users.noreply.github.com> Date: Mon, 14 Feb 2022 17:59:06 +0100 Subject: Remove the EditorNode parameter from EditorPlugins create methods Remove EditorNode usage from the Navigation editor plugin. --- modules/gridmap/grid_map_editor_plugin.cpp | 2 +- modules/gridmap/grid_map_editor_plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/gridmap') diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp index d1ca84fa6b..a7f93a6ce9 100644 --- a/modules/gridmap/grid_map_editor_plugin.cpp +++ b/modules/gridmap/grid_map_editor_plugin.cpp @@ -1489,7 +1489,7 @@ void GridMapEditorPlugin::make_visible(bool p_visible) { } } -GridMapEditorPlugin::GridMapEditorPlugin(EditorNode *_p_node) { +GridMapEditorPlugin::GridMapEditorPlugin() { EDITOR_DEF("editors/grid_map/editor_side", 1); EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::INT, "editors/grid_map/editor_side", PROPERTY_HINT_ENUM, "Left,Right")); diff --git a/modules/gridmap/grid_map_editor_plugin.h b/modules/gridmap/grid_map_editor_plugin.h index 4a0ebdc237..10e466f096 100644 --- a/modules/gridmap/grid_map_editor_plugin.h +++ b/modules/gridmap/grid_map_editor_plugin.h @@ -257,7 +257,7 @@ public: virtual bool handles(Object *p_object) const override; virtual void make_visible(bool p_visible) override; - GridMapEditorPlugin(EditorNode *_p_node); + GridMapEditorPlugin(); ~GridMapEditorPlugin(); }; -- cgit v1.2.3