[3.x] Fix Label3D oversampling.

This commit is contained in:
bruvzg 2022-05-30 09:05:41 +03:00
parent fdade32d40
commit 553bdc6783
No known key found for this signature in database
GPG Key ID: 7960FCF39844EC38
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ Size2 DynamicFontAtSize::get_char_tx_size(CharType p_char, CharType p_next, cons
ERR_FAIL_COND_V(!ch, Size2());
if (ch->found) {
return ch->rect_uv.size;
return ch->rect.size;
}
return Size2();
}