From 151f33111b9145852db8a60b4ecccbad1e48c5a6 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Thu, 23 Jan 2020 11:48:38 -0300 Subject: [PATCH] Fix TileSet shape data not updating when being set via code --- scene/resources/tile_set.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp index d9caf1d657d..a827793f67b 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 {