diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-28 11:02:57 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-28 11:02:57 +0100 |
commit | 2975fc9460f1fe97bc6a4472efb4cf49dcd70f53 (patch) | |
tree | abe1122c1c397ab1eea148f76983f0ea8dd8a0b9 /editor | |
parent | c3920936681b68dc42e259a206dac726fd240d10 (diff) | |
parent | 7bc0d0c1776c9cae2ce3950fdf269c49a5d8fa1f (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.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() { |