diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/Caps.cs | 5 | ||||
-rw-r--r-- | OpenSim/Framework/IScene.cs | 4 |
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; | |||
35 | using OpenSim.Framework.Communications.Cache; | 35 | using OpenSim.Framework.Communications.Cache; |
36 | using OpenSim.Framework.Servers; | 36 | using OpenSim.Framework.Servers; |
37 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
38 | using OpenSim.Region.Environment.Interfaces; | 38 | using OpenSim.Region.Interfaces; |
39 | using OpenSim.Region.Environment.Scenes; | ||
40 | 39 | ||
41 | namespace OpenSim.Framework.Communications.Capabilities | 40 | namespace 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 | } |