diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-04-25 14:48:16 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-04-25 14:48:16 -0500 |
commit | 5d862c994c18b155bc761fa16dd4070281a1345e (patch) | |
tree | 0fb2e8a75343d3964a2dd6269207e92dfee92882 /indra/newview/llviewerobject.cpp | |
parent | 741c815966fd32698e8258bfa410d713effe9704 (diff) |
DRTVWR-559 Optimization pass on probe allocation and search. Incidental decruft.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 100c73377f..2f4274d0d0 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -5689,7 +5689,7 @@ S32 LLViewerObject::countInventoryContents(LLAssetType::EType type) return count; } -void LLViewerObject::setDebugText(const std::string &utf8text) +void LLViewerObject::setDebugText(const std::string &utf8text, const LLColor4& color) { if (utf8text.empty() && !mText) { @@ -5700,7 +5700,7 @@ void LLViewerObject::setDebugText(const std::string &utf8text) { initHudText(); } - mText->setColor(LLColor4::white); + mText->setColor(color); mText->setString(utf8text); mText->setZCompare(FALSE); mText->setDoFade(FALSE); |