From b2c797c584fea1933b9c9d1c237a09cad6e088ed Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sun, 22 Jul 2018 15:26:14 +0200 Subject: Defer TileMap::update_dirty_quadrants once again. This fixes #20323. #11077 is now technically re-broken, but you can now call update_dirty_quadrants as workaround. --- doc/classes/TileMap.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index 656063771d..3486b721ca 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -153,6 +153,8 @@ 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, transposed, or given autotile coordinates. + Note that data such as navigation polygons and collision shapes are not immediately updated for performance reasons. + If you need these to be immediately updated, you can call [method update_dirty_quadrants]. @@ -172,6 +174,8 @@ Sets the tile index for the given cell. An index of [code]-1[/code] clears the cell. Optionally, the tile can also be flipped or transposed. + Note that data such as navigation polygons and collision shapes are not immediately updated for performance reasons. + If you need these to be immediately updated, you can call [method update_dirty_quadrants]. @@ -217,6 +221,13 @@ Calling with invalid (or missing) parameters applies autotiling rules for the entire tilemap. + + + + + Updates the tile map's quadrants, allowing things such as navigation and collision shapes to be immediately used if modified. + + -- cgit v1.2.3