----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://codereview.secondlife.com/r/194/#review526 -----------------------------------------------------------
+1 on this patch modulo the code convention fix I mention here under. indra/newview/llworld.cpp <http://codereview.secondlife.com/r/194/#comment418> Code convention: could you add "{}" around the statements following these "if"s? indra/newview/llworld.cpp <http://codereview.secondlife.com/r/194/#comment419> Funny that you added them here :) - Merov On March 9, 2011, 3:33 p.m., Twisted Laws wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://codereview.secondlife.com/r/194/ > ----------------------------------------------------------- > > (Updated March 9, 2011, 3:33 p.m.) > > > Review request for Viewer. > > > Summary > ------- > > STORM-954 review had 2 patches, the second of which was approved in review > process but the first patch is what went into viewer-development. This is > that second patch again. This patch modifies getAvatars() in llworld.cpp. > Note this patch becomes more important if/when avatar distances may be > displayed to users in the viewer as it corrects for map data being incorrect > above 1024m by using the viewer characters list to get avatar position if > known and then falling back on the map data for the avatars that are beyond > view range. This patch is in the repository > https://bitbucket.org/Twisted_Laws/viewer-development-storm-954 > > > This addresses bug storm-954. > http://jira.secondlife.com/browse/storm-954 > > > Diffs > ----- > > indra/newview/llworld.cpp aed94e854443 > > Diff: http://codereview.secondlife.com/r/194/diff > > > Testing > ------- > > Proper testing with and without this patch is to have 2 or more avatars at > 1050 height with other avatars on the ground under you, and the NearmeRange > (debug setting) set to 4096 and the sort order in the Nearby avatars panel > set to sort by distance. (A busy region like a sandbox, is a good place to > test.) Without this patch, a nearby avatar will not necessarily be displayed > before avatars that are further away. With this patch, the avatar standing > closest to you should show up as the first in the list. > > > Thanks, > > Twisted > >
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges