From d66d8e727a377705a8be2a3de7930efe200c81c3 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Tue, 19 Jul 2016 17:21:42 +0300 Subject: MAINT-6574 object's text was not fading out over distance after lod info debugging --- indra/newview/llviewerobject.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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); } -- cgit v1.2.3