Browse Source

Merge pull request #61535 from bruvzg/lbl3x_ov

[3.x] Fix Label3D oversampling.
Rémi Verschelde 3 năm trước cách đây
mục cha
commit
4822ea81e4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scene/resources/dynamic_font.cpp

+ 1 - 1
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();
 }