EXP-250 FIX Option to disable beacons

hud arrow also controlled by RenderTrackerBeacon setting
meow-7.2.2
Richard Linden 2010-10-18 17:34:30 -07:00
parent 97101982de
commit 548f2e92ff
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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