From 453fadd94071545b76706674bb284402c9a065c0 Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 10 Jun 2007 18:51:45 +0000 Subject: Added SandBoxManager which in sandbox mode, acts as the backend server for the CommsManager interfaces (commsManager.gridServer etc). --- OpenSim/OpenSim.Region/World/Primitive.cs | 3 --- OpenSim/OpenSim.Region/World/World.cs | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'OpenSim/OpenSim.Region/World') diff --git a/OpenSim/OpenSim.Region/World/Primitive.cs b/OpenSim/OpenSim.Region/World/Primitive.cs index c800f21..99e349d 100644 --- a/OpenSim/OpenSim.Region/World/Primitive.cs +++ b/OpenSim/OpenSim.Region/World/Primitive.cs @@ -224,7 +224,6 @@ namespace OpenSim.Region public void UpdateTexture(byte[] tex) { this.primData.Texture = tex; - //this.dirtyFlag = true; } /// @@ -387,8 +386,6 @@ namespace OpenSim.Region lPos = this.Pos; lRot = this.rotation; } - - } /// diff --git a/OpenSim/OpenSim.Region/World/World.cs b/OpenSim/OpenSim.Region/World/World.cs index 49ba8fa..cf0382a 100644 --- a/OpenSim/OpenSim.Region/World/World.cs +++ b/OpenSim/OpenSim.Region/World/World.cs @@ -544,7 +544,7 @@ namespace OpenSim.Region protected void InformClientOfNeighbours(IClientAPI remoteClient) { // Console.WriteLine("informing client of neighbouring regions"); - List neighbours = this.commsManager.RequestNeighbours(this.m_regInfo); + List neighbours = this.commsManager.gridServer.RequestNeighbours(this.m_regInfo); //Console.WriteLine("we have " + neighbours.Count + " neighbouring regions"); if (neighbours != null) @@ -617,7 +617,7 @@ namespace OpenSim.Region /// public void RegisterRegionWithComms() { - this.regionCommsHost = this.commsManager.RegisterRegion(this.m_regInfo); + this.regionCommsHost = this.commsManager.gridServer.RegisterRegion(this.m_regInfo); if (this.regionCommsHost != null) { this.regionCommsHost.OnExpectUser += new ExpectUserDelegate(this.NewUserConnection); -- cgit v1.1