Browse Source

Merge pull request #73887 from nklbdev/master

fix typo `set_polygon` in GenericTilePolygonEditor
Rémi Verschelde 2 years ago
parent
commit
75c0027e5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/plugins/tiles/tile_data_editors.cpp

+ 1 - 1
editor/plugins/tiles/tile_data_editors.cpp

@@ -784,7 +784,7 @@ void GenericTilePolygonEditor::_bind_methods() {
 	ClassDB::bind_method(D_METHOD("remove_polygon", "index"), &GenericTilePolygonEditor::remove_polygon);
 	ClassDB::bind_method(D_METHOD("clear_polygons"), &GenericTilePolygonEditor::clear_polygons);
 	ClassDB::bind_method(D_METHOD("set_polygon", "index", "polygon"), &GenericTilePolygonEditor::set_polygon);
-	ClassDB::bind_method(D_METHOD("get_polygon", "index"), &GenericTilePolygonEditor::set_polygon);
+	ClassDB::bind_method(D_METHOD("get_polygon", "index"), &GenericTilePolygonEditor::get_polygon);
 
 	ADD_SIGNAL(MethodInfo("polygons_changed"));
 }