mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Rename get_surrounding_tiles to get_surrounding_cells
This commit is contained in:
parent
c241f1c523
commit
3ea54bb3a1
4 changed files with 6 additions and 6 deletions
|
|
@ -1164,7 +1164,7 @@ HashMap<Vector2i, TileMapCell> TileMapEditorTilesPlugin::_draw_bucket_fill(Vecto
|
|||
}
|
||||
|
||||
// Get surrounding tiles (handles different tile shapes).
|
||||
TypedArray<Vector2i> around = tile_map->get_surrounding_tiles(coords);
|
||||
TypedArray<Vector2i> around = tile_map->get_surrounding_cells(coords);
|
||||
for (int i = 0; i < around.size(); i++) {
|
||||
to_check.push_back(around[i]);
|
||||
}
|
||||
|
|
@ -2547,7 +2547,7 @@ RBSet<Vector2i> TileMapEditorTerrainsPlugin::_get_cells_for_bucket_fill(Vector2i
|
|||
output.insert(coords);
|
||||
|
||||
// Get surrounding tiles (handles different tile shapes).
|
||||
TypedArray<Vector2i> around = tile_map->get_surrounding_tiles(coords);
|
||||
TypedArray<Vector2i> around = tile_map->get_surrounding_cells(coords);
|
||||
for (int i = 0; i < around.size(); i++) {
|
||||
to_check.push_back(around[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue