From 548f2e92ffd8e971c379860c77d76f1b26313ee5 Mon Sep 17 00:00:00 2001 From: Richard Linden <none@none> Date: Mon, 18 Oct 2010 17:34:30 -0700 Subject: [PATCH] EXP-250 FIX Option to disable beacons hud arrow also controlled by RenderTrackerBeacon setting --- indra/newview/app_settings/settings.xml | 4 ++-- indra/newview/lltracker.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index f3169099907..7788d6b2a09 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -8155,9 +8155,9 @@ <real>1.0</real> </map> <key>RenderTrackerBeacon</key> - <map> + <map> <key>Comment</key> - <string>Display tracking arrow and beacon to target avatar/teleport destination</string> + <string>Display tracking arrow and beacon to target avatar, teleport destination</string> <key>Persist</key> <integer>1</integer> <key>Type</key> diff --git a/indra/newview/lltracker.cpp b/indra/newview/lltracker.cpp index 7ce19b528ae..61ea4bb0e60 100644 --- a/indra/newview/lltracker.cpp +++ b/indra/newview/lltracker.cpp @@ -109,6 +109,8 @@ void LLTracker::stopTracking(void* userdata) // static virtual void LLTracker::drawHUDArrow() { + if (!gSavedSettings.getBOOL("RenderTrackerBeacon")) return; + static LLUIColor map_track_color = LLUIColorTable::instance().getColor("MapTrackColor", LLColor4::white); /* tracking autopilot destination has been disabled -- GitLab