summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-28 11:02:57 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-28 11:02:57 +0100
commit2975fc9460f1fe97bc6a4472efb4cf49dcd70f53 (patch)
treeabe1122c1c397ab1eea148f76983f0ea8dd8a0b9 /editor
parentc3920936681b68dc42e259a206dac726fd240d10 (diff)
parent7bc0d0c1776c9cae2ce3950fdf269c49a5d8fa1f (diff)
Merge pull request #69249 from timothyqiu/tile-data-redraw
Update TileSet preview when paint custom data changes
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/tiles/tile_data_editors.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tile_data_editors.cpp b/editor/plugins/tiles/tile_data_editors.cpp
index 44b8ff05d1..75ef40422c 100644
--- a/editor/plugins/tiles/tile_data_editors.cpp
+++ b/editor/plugins/tiles/tile_data_editors.cpp
@@ -851,6 +851,7 @@ GenericTilePolygonEditor::GenericTilePolygonEditor() {
void TileDataDefaultEditor::_property_value_changed(StringName p_property, Variant p_value, StringName p_field) {
ERR_FAIL_COND(!dummy_object);
dummy_object->set(p_property, p_value);
+ emit_signal(SNAME("needs_redraw"));
}
Variant TileDataDefaultEditor::_get_painted_value() {