diff options
author | elektrahesse | 2010-09-16 20:34:09 +0200 |
---|---|---|
committer | elektrahesse | 2010-09-16 20:34:09 +0200 |
commit | 05ed2862aa0f2c288e5b298c634fb8fe0ffc8eb5 (patch) | |
tree | 4aa9e5b759f292a2f72ba8142772d48ed3c73ab6 /linden/indra | |
parent | Switched struct declaration to a more C++esque way... Aleric hit me with a st... (diff) | |
download | meta-impy-05ed2862aa0f2c288e5b298c634fb8fe0ffc8eb5.zip meta-impy-05ed2862aa0f2c288e5b298c634fb8fe0ffc8eb5.tar.gz meta-impy-05ed2862aa0f2c288e5b298c634fb8fe0ffc8eb5.tar.bz2 meta-impy-05ed2862aa0f2c288e5b298c634fb8fe0ffc8eb5.tar.xz |
Commented out the checks for distance, above 1024mts seems like i can't make them work fine :(
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llchatbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) | |||
262 | { | 262 | { |
263 | if (avatar_ids[i] == gAgent.getID() || avatar_ids[i].isNull()) | 263 | if (avatar_ids[i] == gAgent.getID() || avatar_ids[i].isNull()) |
264 | continue; | 264 | continue; |
265 | 265 | /* | |
266 | // Grab the pos again from the objects-in-view cache... LLWorld doesn't work above 1024 meters as usual :( | 266 | // Grab the pos again from the objects-in-view cache... LLWorld doesn't work above 1024 meters as usual :( |
267 | LLVector3d real_pos = positions[i]; | 267 | LLVector3d real_pos = positions[i]; |
268 | if (real_pos[2] == 0.0f) | 268 | if (real_pos[2] == 0.0f) |
@@ -279,7 +279,7 @@ BOOL LLChatBar::handleKeyHere( KEY key, MASK mask ) | |||
279 | F32 dist = F32(dist_vec(positions[i], gAgent.getPositionGlobal())); | 279 | F32 dist = F32(dist_vec(positions[i], gAgent.getPositionGlobal())); |
280 | if (dist > CHAT_SHOUT_RADIUS) | 280 | if (dist > CHAT_SHOUT_RADIUS) |
281 | continue; | 281 | continue; |
282 | 282 | */ | |
283 | std::string agent_name = " "; | 283 | std::string agent_name = " "; |
284 | std::string agent_surname = " "; | 284 | std::string agent_surname = " "; |
285 | 285 | ||