diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-01-23 11:48:38 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-01-23 11:48:38 -0300 |
commit | 151f33111b9145852db8a60b4ecccbad1e48c5a6 (patch) | |
tree | c5c6c044732b052d197ea3728cee566504d8251b /scene/resources | |
parent | ac4e4872372e0f173ff0c4123e87adea637e2d26 (diff) |
Fix TileSet shape data not updating when being set via code
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/tile_set.cpp | 1 |
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 { |