From 553bdc678355a435734f9332986deff210235ade 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] [3.x] 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 d88baf4c58c..2fd1f3bfcb3 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(); }