Changed IClientNetworkServer.AddScene method from void AddScene(Scene x) to void AddScene(IScene x). As there should be no need for the client view to have a reference to Scene. IScene should be all it needs.

0.6.4-rc1
MW 2009-03-02 14:42:01 +00:00
parent 1dcbea0144
commit ff76102644
2 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,6 @@ using System.Net;
using System.Net.Sockets; using System.Net.Sockets;
using Nini.Config; using Nini.Config;
using OpenSim.Framework; using OpenSim.Framework;
using OpenSim.Region.Framework.Scenes;
namespace OpenSim.Region.ClientStack namespace OpenSim.Region.ClientStack
{ {
@ -41,7 +40,7 @@ namespace OpenSim.Region.ClientStack
Socket Server { get; } Socket Server { get; }
bool HandlesRegion(Location x); bool HandlesRegion(Location x);
void AddScene(Scene x); void AddScene(IScene x);
void Start(); void Start();
void Stop(); void Stop();

View File

@ -109,7 +109,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return x == m_location; return x == m_location;
} }
public void AddScene(Scene x) public void AddScene(IScene x)
{ {
LocalScene = x; LocalScene = x;
} }