aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-03-07 18:55:47 -0700
committerMcCabe Maxsted2009-03-07 18:55:47 -0700
commit457f0d9f42f1c6d80b95435a5d2650474b96926b (patch)
tree638d7cfb51e43d590f1f1db708bd5c05e185d445 /linden/indra/newview/llviewermessage.cpp
parentBackported fix for VWR-8783, original patch by Gigs Taggart (diff)
downloadmeta-impy-457f0d9f42f1c6d80b95435a5d2650474b96926b.zip
meta-impy-457f0d9f42f1c6d80b95435a5d2650474b96926b.tar.gz
meta-impy-457f0d9f42f1c6d80b95435a5d2650474b96926b.tar.bz2
meta-impy-457f0d9f42f1c6d80b95435a5d2650474b96926b.tar.xz
Landmark icons now correctly change color when visited (patch by Zi Ree--VWR-7896)
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r--linden/indra/newview/llviewermessage.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 221de59..86eca8f 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -2768,7 +2768,11 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)
2768 LLVector3 beacon_dir(agent_pos.mV[VX] - (F32)fmod(beacon_pos.mdV[VX], 256.0), agent_pos.mV[VY] - (F32)fmod(beacon_pos.mdV[VY], 256.0), 0); 2768 LLVector3 beacon_dir(agent_pos.mV[VX] - (F32)fmod(beacon_pos.mdV[VX], 256.0), agent_pos.mV[VY] - (F32)fmod(beacon_pos.mdV[VY], 256.0), 0);
2769 if (beacon_dir.magVecSquared() < 25.f) 2769 if (beacon_dir.magVecSquared() < 25.f)
2770 { 2770 {
2771 LLTracker::stopTracking(NULL); 2771 // do not stop tracking landmarks here, so they can properly be marked as visited in LLTracker()
2772 if(LLTracker::getTrackingStatus()!=LLTracker::TRACKING_LANDMARK)
2773 {
2774 LLTracker::stopTracking(NULL);
2775 }
2772 } 2776 }
2773 else if ( is_teleport ) 2777 else if ( is_teleport )
2774 { 2778 {