summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-04 19:03:44 +0100
committerGitHub <noreply@github.com>2022-02-04 19:03:44 +0100
commit3db1d689ce11507d9597bb434891da95168f2c69 (patch)
tree0751179923a62f9030317599b00d0a768492c234
parent77d08b68b06b5b821d90ac561c261c93b4bc5928 (diff)
parent64e53cdc552bada4c93e2e3879a6eff1fd5da8d6 (diff)
Merge pull request #57631 from groud/terrain_fix_with_empty_cells
-rw-r--r--editor/plugins/tiles/tile_map_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.cpp b/editor/plugins/tiles/tile_map_editor.cpp
index b878494559..6e3724ead9 100644
--- a/editor/plugins/tiles/tile_map_editor.cpp
+++ b/editor/plugins/tiles/tile_map_editor.cpp
@@ -2337,7 +2337,7 @@ Map<Vector2i, TileMapCell> TileMapEditorTerrainsPlugin::_draw_terrains(const Map
bool to_replace_modified = true;
while (to_replace_modified) {
// Get the constraints from the removed cells.
- removed_cells_constraints_set = tile_map->get_terrain_constraints_from_removed_cells_list(tile_map_layer, to_replace, p_terrain_set);
+ removed_cells_constraints_set = tile_map->get_terrain_constraints_from_removed_cells_list(tile_map_layer, to_replace, p_terrain_set, false);
// Filter the sources to make sure they are in the potential_to_replace.
Map<TileMap::TerrainConstraint, Set<Vector2i>> per_constraint_tiles;