summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-23 16:17:18 +0100
committerGitHub <noreply@github.com>2020-01-23 16:17:18 +0100
commit0f0fcbd56a5cb4280d6a92e6f2e768ad9dbe3ec8 (patch)
treec5c6c044732b052d197ea3728cee566504d8251b /scene
parentac4e4872372e0f173ff0c4123e87adea637e2d26 (diff)
parent151f33111b9145852db8a60b4ecccbad1e48c5a6 (diff)
Merge pull request #35471 from YeldhamDev/tileset_shape_update
Fix TileSet shape data not updating when being set via code
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/tile_set.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp
index d9caf1d657..a827793f67 100644
--- a/scene/resources/tile_set.cpp
+++ b/scene/resources/tile_set.cpp
@@ -1038,6 +1038,7 @@ void TileSet::_tile_set_shapes(int p_id, const Array &p_shapes) {
}
tile_map[p_id].shapes_data = shapes_data;
+ emit_changed();
}
Array TileSet::_tile_get_shapes(int p_id) const {