OSDN Git Service

Making sure avatars that are present on current simulator are shown in avatars list.
authorDouglas R. Miles <logicmoo@gmail.com>
Mon, 24 Aug 2009 22:03:56 +0000 (22:03 +0000)
committerDouglas R. Miles <logicmoo@gmail.com>
Mon, 24 Aug 2009 22:03:56 +0000 (22:03 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@159 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/GUI/Consoles/ChatConsole.cs

index df490ca..345b683 100644 (file)
@@ -194,7 +194,7 @@ namespace Radegast
                         continue;\r
                     }\r
                     int d = (int) Vector3d.Distance(ToVector3D(sim, sim.AvatarPositions[key]), mypos);\r
-                    if (d > MAX_DISTANCE)\r
+                    if (sim != client.Network.CurrentSim && d > MAX_DISTANCE)\r
                     {\r
                         removed.Add(key);\r
                         continue;\r