diff options
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/UserStatistics/ActiveConnectionsAJAX.cs')
-rw-r--r-- | OpenSim/Region/UserStatistics/ActiveConnectionsAJAX.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/UserStatistics/ActiveConnectionsAJAX.cs b/OpenSim/Region/UserStatistics/ActiveConnectionsAJAX.cs index a20e70f..d7c39a3 100644 --- a/OpenSim/Region/UserStatistics/ActiveConnectionsAJAX.cs +++ b/OpenSim/Region/UserStatistics/ActiveConnectionsAJAX.cs | |||
@@ -32,6 +32,7 @@ using System.Reflection; | |||
32 | using System.Text; | 32 | using System.Text; |
33 | using Mono.Data.SqliteClient; | 33 | using Mono.Data.SqliteClient; |
34 | using OpenMetaverse; | 34 | using OpenMetaverse; |
35 | using OpenSim.Framework; | ||
35 | using OpenSim.Region.Framework.Scenes; | 36 | using OpenSim.Region.Framework.Scenes; |
36 | using OpenSim.Framework.Statistics; | 37 | using OpenSim.Framework.Statistics; |
37 | 38 | ||
@@ -39,7 +40,7 @@ namespace OpenSim.Region.UserStatistics | |||
39 | { | 40 | { |
40 | public class ActiveConnectionsAJAX : IStatsController | 41 | public class ActiveConnectionsAJAX : IStatsController |
41 | { | 42 | { |
42 | private Vector3 DefaultNeighborPosition = new Vector3(128, 128, 70); | 43 | private Vector3 DefaultNeighborPosition = new Vector3(((int)Constants.RegionSize * 0.5f), ((int)Constants.RegionSize * 0.5f), 70); |
43 | 44 | ||
44 | #region IStatsController Members | 45 | #region IStatsController Members |
45 | 46 | ||