aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-23 02:30:07 +0000
committerMelanie Thielker2008-08-23 02:30:07 +0000
commitccd74f888bcb2fe60d14d45bfc9506a2c005aa82 (patch)
tree5b626ffee4fa08aafa60c5397c1a4e154447546c /OpenSim/Framework
parentSet svn:eol-style (diff)
downloadopensim-SC_OLD-ccd74f888bcb2fe60d14d45bfc9506a2c005aa82.zip
opensim-SC_OLD-ccd74f888bcb2fe60d14d45bfc9506a2c005aa82.tar.gz
opensim-SC_OLD-ccd74f888bcb2fe60d14d45bfc9506a2c005aa82.tar.bz2
opensim-SC_OLD-ccd74f888bcb2fe60d14d45bfc9506a2c005aa82.tar.xz
Some complex re-ordering to make prebuild do what needed to be done.
It is now possible to use module interfaces without referencing Scene. Place those interfaces in OpenSim/Region/Interfaces. They may not use any refs from OpenSim.Region.Environment as parameters. This resolves a circular library ref introduced in r5949
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs5
-rw-r--r--OpenSim/Framework/IScene.cs4
2 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs
index 338604d..6946561 100644
--- a/OpenSim/Framework/Communications/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs
@@ -35,8 +35,7 @@ using log4net;
35using OpenSim.Framework.Communications.Cache; 35using OpenSim.Framework.Communications.Cache;
36using OpenSim.Framework.Servers; 36using OpenSim.Framework.Servers;
37using OpenSim.Framework; 37using OpenSim.Framework;
38using OpenSim.Region.Environment.Interfaces; 38using OpenSim.Region.Interfaces;
39using OpenSim.Region.Environment.Scenes;
40 39
41namespace OpenSim.Framework.Communications.Capabilities 40namespace OpenSim.Framework.Communications.Capabilities
42{ 41{
@@ -614,7 +613,7 @@ namespace OpenSim.Framework.Communications.Capabilities
614 llsdRequest.asset_type == "sound") 613 llsdRequest.asset_type == "sound")
615 { 614 {
616 IClientAPI client = GetClient(m_agentID); 615 IClientAPI client = GetClient(m_agentID);
617 Scene scene = (Scene)client.Scene; 616 IScene scene = client.Scene;
618 617
619 IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>(); 618 IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>();
620 619
diff --git a/OpenSim/Framework/IScene.cs b/OpenSim/Framework/IScene.cs
index 82002c2..2cce12f 100644
--- a/OpenSim/Framework/IScene.cs
+++ b/OpenSim/Framework/IScene.cs
@@ -63,5 +63,7 @@ namespace OpenSim.Framework
63 bool PresenceChildStatus(LLUUID avatarID); 63 bool PresenceChildStatus(LLUUID avatarID);
64 64
65 string GetCapsPath(LLUUID agentId); 65 string GetCapsPath(LLUUID agentId);
66
67 T RequestModuleInterface<T>();
66 } 68 }
67} \ No newline at end of file 69}