Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1870

Avatar tracking beacon doesn't get disabled if DESTINATION_REACHED_RADIUS is reached

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Minor
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: Active
    • Labels:
    • Environment:
    • Test Plan:
      Hide

      You will need Avatar 1 and Avatar 2, who are friends and who, when logged in, are standing about 7m away from each other.

      Log in to Avatar 2

      With Avatar 2 change the setting for Avatar 1, so Avatar 1 can see Avatar 2's position on the world map

      Log in to Avatar 1, leaving Avatar 2 logged in

      With Avatar 1:
      Open the world map

      In the Online Friends dropdown select Avatar 2: a beacon appears over Avatar 2

      Walk towards Avatar 2. When you are a few meters away the red beacon disappears.

      Show
      You will need Avatar 1 and Avatar 2, who are friends and who, when logged in, are standing about 7m away from each other. Log in to Avatar 2 With Avatar 2 change the setting for Avatar 1, so Avatar 1 can see Avatar 2's position on the world map Log in to Avatar 1, leaving Avatar 2 logged in With Avatar 1: Open the world map In the Online Friends dropdown select Avatar 2: a beacon appears over Avatar 2 Walk towards Avatar 2. When you are a few meters away the red beacon disappears.

      Description

      According to the source code in LLTracker::render3D(), the tracker should be stopped automatically if the distance to the tracked avatar is less than 3m. But after executing the line

      F32 dist = gFloaterWorldMap->getDistanceToDestination(instance()->mTrackedPositionGlobal, 0.0f);

      the value of dist way off from the actual distance. Running with attached debugger revealed a distance of more than 55,000m while standing 1m away of the other avatar! This happened on Second Life Server 12.05.11.256527 as well as on Second Life RC LeTigre 12.05.29.258159

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ansariel.hiller Ansariel Hiller
              Extended Group Visibility:
              jira-users
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: