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.
parent
1dcbea0144
commit
ff76102644
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue