[opensource-dev] Review Request: Add optional range ring to the mini-map -- one centered on you with a radius of 20m to show local chat range

Merov Linden merov at lindenlab.com
Fri Mar 25 17:43:09 PDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/197/#review503
-----------------------------------------------------------


I haven't checked but I suppose there are somewhere declaration for the chat ranges. Use that instead of magic numbers in the code and, if not, use local const with appropriate comments.


indra/newview/llnetmap.cpp
<http://codereview.secondlife.com/r/197/#comment369>

    Use at least loal const with comments for magic numbers


- Merov


On March 12, 2011, 8 a.m., Jonathan Yap wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/197/
> -----------------------------------------------------------
> 
> (Updated March 12, 2011, 8 a.m.)
> 
> 
> Review request for Viewer.
> 
> 
> Summary
> -------
> 
> Add optional range ring to the mini-map -- one centered on you with a radius of 20m to show local chat range.
> 
> By default the range ring is off.
> 
> To turn it on you right click on the mini-map and pick the menu entry "Range Ring".
> 
> 
> This addresses bug Storm-1068.
>     http://jira.secondlife.com/browse/Storm-1068
> 
> 
> Diffs
> -----
> 
>   doc/contributions.txt aed94e854443 
>   indra/newview/app_settings/settings.xml aed94e854443 
>   indra/newview/llnetmap.h aed94e854443 
>   indra/newview/llnetmap.cpp aed94e854443 
>   indra/newview/skins/default/colors.xml aed94e854443 
>   indra/newview/skins/default/xui/en/menu_mini_map.xml aed94e854443 
> 
> Diff: http://codereview.secondlife.com/r/197/diff
> 
> 
> Testing
> -------
> 
> Tested with another avatar.  When they are outside the ring they cannot see my local chat and when they are inside it they can, so the ring's radius is set correctly.
> 
> Flew over various types of land to make sure my color choice (blue @10%) was always visible.
> 
> Enabled range ring, logged out and back on; range ring is still present on mini-map.
> 
> Panned mini-map, range ring remains centered over avatar.
> 
> Used mouse wheel to zoom in and out as far as possible.  Size of range ring varied with change in zoom level.
> 
> 
> Thanks,
> 
> Jonathan
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110326/76b420c8/attachment.htm 


More information about the opensource-dev mailing list