From 94ef24dd885180605c234929f84e168ec7b90bcb Mon Sep 17 00:00:00 2001 From: snailrhymer <61291296+snailrhymer@users.noreply.github.com> Date: Wed, 22 Dec 2021 02:37:12 +0000 Subject: [PATCH] Fix descriptions of set_cell and set_cellv in TileMap.xml Swap the first lines of the descriptions for set_cell and set_cellv to correctly describe which accepts x and y as separate arguments and which accepts a Vector2. Fix not relevant to master branch due to changes to TileMap. (cherry picked from commit 73f4531c97438b139af7ce9c51245244b7f5393b) --- doc/classes/TileMap.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index dedeb9f9cc6..758d6349225 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -133,7 +133,7 @@ - Sets the tile index for the cell given by a Vector2. + Sets the tile index for the given cell. An index of [code]-1[/code] clears the cell. Optionally, the tile can also be flipped, transposed, or given autotile coordinates. The autotile coordinate refers to the column and row of the subtile. [b]Note:[/b] Data such as navigation polygons and collision shapes are not immediately updated for performance reasons. @@ -155,7 +155,7 @@ - Sets the tile index for the given cell. + Sets the tile index for the cell given by a Vector2. An index of [code]-1[/code] clears the cell. Optionally, the tile can also be flipped or transposed. [b]Note:[/b] Data such as navigation polygons and collision shapes are not immediately updated for performance reasons.