summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2020-01-23 11:48:38 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2020-01-23 11:48:38 -0300
commit151f33111b9145852db8a60b4ecccbad1e48c5a6 (patch)
treec5c6c044732b052d197ea3728cee566504d8251b /scene/resources
parentac4e4872372e0f173ff0c4123e87adea637e2d26 (diff)
Fix TileSet shape data not updating when being set via code
Diffstat (limited to 'scene/resources')
-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 {