From ff761026443973d87c8e92e752dad838e0bc72f2 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 2 Mar 2009 14:42:01 +0000 Subject: [PATCH] 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. --- OpenSim/Region/ClientStack/IClientNetworkServer.cs | 3 +-- OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/ClientStack/IClientNetworkServer.cs b/OpenSim/Region/ClientStack/IClientNetworkServer.cs index b0749c63a9..f2f16143f8 100644 --- a/OpenSim/Region/ClientStack/IClientNetworkServer.cs +++ b/OpenSim/Region/ClientStack/IClientNetworkServer.cs @@ -29,7 +29,6 @@ using System.Net; using System.Net.Sockets; using Nini.Config; using OpenSim.Framework; -using OpenSim.Region.Framework.Scenes; namespace OpenSim.Region.ClientStack { @@ -41,7 +40,7 @@ namespace OpenSim.Region.ClientStack Socket Server { get; } bool HandlesRegion(Location x); - void AddScene(Scene x); + void AddScene(IScene x); void Start(); void Stop(); diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 7aea9a336b..e29ec4ee4e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs @@ -109,7 +109,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP return x == m_location; } - public void AddScene(Scene x) + public void AddScene(IScene x) { LocalScene = x; }