You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename get_surrounding_tiles to get_surrounding_cells
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user