From 7bc0d0c1776c9cae2ce3950fdf269c49a5d8fa1f Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sun, 27 Nov 2022 18:35:47 +0800 Subject: Update TileSet preview when paint custom data changes --- editor/plugins/tiles/tile_data_editors.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor') 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() { -- cgit v1.2.3