Merge pull request #35471 from YeldhamDev/tileset_shape_update
Fix TileSet shape data not updating when being set via code
This commit is contained in:
commit
0f0fcbd56a
1 changed files with 1 additions and 0 deletions
|
@ -1038,6 +1038,7 @@ void TileSet::_tile_set_shapes(int p_id, const Array &p_shapes) {
|
||||||
}
|
}
|
||||||
|
|
||||||
tile_map[p_id].shapes_data = shapes_data;
|
tile_map[p_id].shapes_data = shapes_data;
|
||||||
|
emit_changed();
|
||||||
}
|
}
|
||||||
|
|
||||||
Array TileSet::_tile_get_shapes(int p_id) const {
|
Array TileSet::_tile_get_shapes(int p_id) const {
|
||||||
|
|
Loading…
Reference in a new issue