summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-07-25 18:19:55 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2024-07-25 19:19:18 +0200
commit3ca9af4d4ac035ed18fa747edd7e0a3bf49b7b32 (patch)
tree68fdd3c4ca0839c6e81c36f9306129c3a3e67d1b
parent4d7f622a3c6a2fdec1c57ad4506ae49786b37dfc (diff)
Fix commit 4b543b618b101aca9dee1f224d8dbd4fbf937d71
-rw-r--r--indra/newview/llhudtext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llhudtext.cpp b/indra/newview/llhudtext.cpp
index 78afe43ffe..35bcf65db6 100644
--- a/indra/newview/llhudtext.cpp
+++ b/indra/newview/llhudtext.cpp
@@ -392,7 +392,7 @@ void LLHUDText::updateVisibility()
LLVector3 pos_agent_center = gAgent.getPosAgentFromGlobal(mPositionGlobal) - dir_from_camera;
F32 last_distance_center = (pos_agent_center - LLViewerCamera::getInstance()->getOrigin()).magVec();
- static LLCachedControl<bool> prim_text_max_dist(gSavedSettings, "PrimTextMaxDrawDistance");
+ static LLCachedControl<F32> prim_text_max_dist(gSavedSettings, "PrimTextMaxDrawDistance");
F32 max_draw_distance = prim_text_max_dist;
if(max_draw_distance < 0)