diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-11-27 18:35:47 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-11-27 18:35:47 +0800 |
commit | 7bc0d0c1776c9cae2ce3950fdf269c49a5d8fa1f (patch) | |
tree | b66e77804a78b580b9133217fcef194a878e3b7c /editor | |
parent | 690199b7dddd784b435e6ce71365256b29285fe8 (diff) |
Update TileSet preview when paint custom data changes
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/tiles/tile_data_editors.cpp | 1 |
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() { |