From 3ef4f9128bbd50820ac3db1092451ecb41c61bea Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 30 May 2022 09:05:41 +0300 Subject: [PATCH] Fix Label3D oversampling. --- scene/resources/dynamic_font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index 650b42f9b..a6067e6a7 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -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(); }