summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-07-19 17:21:42 +0300
committerandreykproductengine <akleshchev@productengine.com>2016-07-19 17:21:42 +0300
commitd66d8e727a377705a8be2a3de7930efe200c81c3 (patch)
tree972f4990787689642818ba27097e03af099b2f96
parent070116f2120e9e3e546a09d209ee3222affc7f93 (diff)
MAINT-6574 object's text was not fading out over distance after lod info debugging
-rw-r--r--indra/newview/llviewerobject.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 56dcd30a1d..72a8595845 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -5022,6 +5022,12 @@ void LLViewerObject::restoreHudText()
{
initHudText();
}
+ else
+ {
+ // Restore default values
+ mText->setZCompare(TRUE);
+ mText->setDoFade(TRUE);
+ }
mText->setColor(mHudTextColor);
mText->setString(mHudText);
}