1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Remove the EditorNode parameter from EditorPlugins create methods

Remove EditorNode usage from the Navigation editor plugin.
This commit is contained in:
trollodel
2022-02-14 17:59:06 +01:00
parent f810f76890
commit cd1d7294d8
10 changed files with 15 additions and 19 deletions

View File

@@ -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"));