Update TileSet preview when paint custom data changes

This commit is contained in:
Haoyu Qiu 2022-11-27 18:35:47 +08:00
parent 690199b7dd
commit 7bc0d0c177

View file

@ -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() {