Fix #146535: 3d Text selection is broken

Typo in 6d92bf00a6

Pull Request: https://projects.blender.org/blender/blender/pulls/146561
This commit is contained in:
Philipp Oeser
2025-09-22 11:50:19 +02:00
committed by Philipp Oeser
parent aa95220576
commit e2c3bfde4f

View File

@@ -1764,7 +1764,7 @@ static bool vfont_to_curve(Object *ob,
const float charwidth = vfont_char_width(cu, che, info);
const float charhalf = (charwidth / 2.0f);
if (cursor_location.x <= ((chartransdata[i].offset.y + charhalf) * font_size)) {
if (cursor_location.x <= ((chartransdata[i].offset.x + charhalf) * font_size)) {
break;
}
}