summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-05-28 21:39:43 +0300
committerGitHub <noreply@github.com>2025-05-28 21:39:43 +0300
commit3375fb1348de8768ea3cac4b06cd4fdd4fbd13a9 (patch)
tree0b5b5eae982fd99ccd3175708f683420613e995b /indra/llui/lltextbase.cpp
parent0dbf2b40f6f30728858fadb6390c465dc36669aa (diff)
parentde8275b14b30bf754cdba1da867cb2e6c2783639 (diff)
Merge pull request #4182 from secondlife/main
GLTF Mesh Import: Post-release merge
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index c1b01f420b..778b253c3c 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -483,7 +483,7 @@ std::vector<std::pair<LLRect, LLUIColor>> LLTextBase::getHighlightedBgRects()
F32 left_precise = (F32)line_iter->mRect.mLeft;
F32 right_precise = (F32)line_iter->mRect.mLeft;
- for (; segment_iter != mSegments.end(); ++segment_iter)
+ for (; segment_iter != mSegments.end(); ++segment_iter, segment_offset = 0)
{
LLTextSegmentPtr segmentp = *segment_iter;