Skip to content

Commit

Permalink
Merge pull request #69249 from timothyqiu/tile-data-redraw
Browse files Browse the repository at this point in the history
Update TileSet preview when paint custom data changes
  • Loading branch information
akien-mga committed Nov 28, 2022
2 parents c392093 + 7bc0d0c commit 2975fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/plugins/tiles/tile_data_editors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2975fc9

Please sign in to comment.