Details
-
Defect
-
Status: Closed
-
Minor
-
Resolution: Released
-
None
-
None
-
Current beta - version doesn't matter
Description
The SL simulator has recently been fixed so that the CoarseLocationUpdate message properly returns 255 for all altitudes above 1020 meters.
The code for the mini-map, in drawing the agent locations for equal, above or below needs to take this into account. It currently does not.
LLNetMap::globalPosToView() computes a relative position:
LLVector3d relative_pos_global = global_pos - gAgentCamera.getCameraPositionGlobal();
The Z value needs to take the global camera pos, and slam anything above 1020 to be 1020, and all our problems will be solved.
The routine that returns who is nearby can be enhanced to scan the character list and use that position data. This gives an accurate z-level value, even when above 1020m.
In the case where the relative Z value between you and another avatar is unknown display an X on the mini-map.
Attachments
Issue Links
- is depended on by
-
STORM-1838 Add "Request Teleport"
-
- Closed
-