diff options
author | Melanie Thielker | 2009-05-11 21:04:27 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-11 21:04:27 +0000 |
commit | f948fab4dab4330d7e94f7671f752e8993ce14ea (patch) | |
tree | a153039b7e9cf10ca6e2f740ab2e06dc1ca4ae81 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Commit the asset server app config (diff) | |
download | opensim-SC_OLD-f948fab4dab4330d7e94f7671f752e8993ce14ea.zip opensim-SC_OLD-f948fab4dab4330d7e94f7671f752e8993ce14ea.tar.gz opensim-SC_OLD-f948fab4dab4330d7e94f7671f752e8993ce14ea.tar.bz2 opensim-SC_OLD-f948fab4dab4330d7e94f7671f752e8993ce14ea.tar.xz |
Add AssetService of type IAssetService to Scene
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 72d1435..8de069a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -38,6 +38,7 @@ using Nini.Config; | |||
38 | using OpenMetaverse; | 38 | using OpenMetaverse; |
39 | using OpenMetaverse.Imaging; | 39 | using OpenMetaverse.Imaging; |
40 | using OpenSim.Framework; | 40 | using OpenSim.Framework; |
41 | using OpenSim.Services.Interfaces; | ||
41 | using OpenSim.Framework.Communications; | 42 | using OpenSim.Framework.Communications; |
42 | using OpenSim.Framework.Communications.Cache; | 43 | using OpenSim.Framework.Communications.Cache; |
43 | using OpenSim.Framework.Communications.Clients; | 44 | using OpenSim.Framework.Communications.Clients; |
@@ -125,6 +126,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
125 | 126 | ||
126 | public IXfer XferManager; | 127 | public IXfer XferManager; |
127 | 128 | ||
129 | protected IAssetService m_AssetService = null; | ||
130 | |||
131 | public IAssetService AssetService | ||
132 | { | ||
133 | get | ||
134 | { | ||
135 | if (m_AssetService == null) | ||
136 | m_AssetService = RequestModuleInterface<IAssetService>(); | ||
137 | |||
138 | return m_AssetService; | ||
139 | } | ||
140 | } | ||
141 | |||
128 | protected IXMLRPC m_xmlrpcModule; | 142 | protected IXMLRPC m_xmlrpcModule; |
129 | protected IWorldComm m_worldCommModule; | 143 | protected IWorldComm m_worldCommModule; |
130 | protected IAvatarFactory m_AvatarFactory; | 144 | protected IAvatarFactory m_AvatarFactory; |