diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2023-02-25 01:01:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 01:01:26 +0100 |
commit | 75c0027e5aa0e7f9929c931ed75eb3388be1b6c1 (patch) | |
tree | 60421ce3aa923aeffbdf501421b724362a5f8d36 | |
parent | daedc158c70491ea3e5f3fea888c0799e61c0a80 (diff) | |
parent | 834a6c5983561c884cde7d022ecbdf8b8bde27ab (diff) |
Merge pull request #73887 from nklbdev/master
fix typo `set_polygon` in GenericTilePolygonEditor
-rw-r--r-- | editor/plugins/tiles/tile_data_editors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tiles/tile_data_editors.cpp b/editor/plugins/tiles/tile_data_editors.cpp index 3dd0c84ee7..73d2da63b7 100644 --- a/editor/plugins/tiles/tile_data_editors.cpp +++ b/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")); } |