From 05ed2862aa0f2c288e5b298c634fb8fe0ffc8eb5 Mon Sep 17 00:00:00 2001 From: elektrahesse Date: Thu, 16 Sep 2010 20:34:09 +0200 Subject: Commented out the checks for distance, above 1024mts seems like i can't make them work fine :( --- linden/indra/newview/llchatbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linden') diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp index ffd5afa..2981958 100644 --- a/linden/indra/newview/llchatbar.cpp +++ b/linden/indra/newview/llchatbar.cpp @@ -262,7 +262,7 @@ BOOL LLChatBar::handleKeyHere( KEY key, MASK mask ) { if (avatar_ids[i] == gAgent.getID() || avatar_ids[i].isNull()) continue; - +/* // Grab the pos again from the objects-in-view cache... LLWorld doesn't work above 1024 meters as usual :( LLVector3d real_pos = positions[i]; if (real_pos[2] == 0.0f) @@ -279,7 +279,7 @@ BOOL LLChatBar::handleKeyHere( KEY key, MASK mask ) F32 dist = F32(dist_vec(positions[i], gAgent.getPositionGlobal())); if (dist > CHAT_SHOUT_RADIUS) continue; - +*/ std::string agent_name = " "; std::string agent_surname = " "; -- cgit v1.1