aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs14
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;
38using OpenMetaverse; 38using OpenMetaverse;
39using OpenMetaverse.Imaging; 39using OpenMetaverse.Imaging;
40using OpenSim.Framework; 40using OpenSim.Framework;
41using OpenSim.Services.Interfaces;
41using OpenSim.Framework.Communications; 42using OpenSim.Framework.Communications;
42using OpenSim.Framework.Communications.Cache; 43using OpenSim.Framework.Communications.Cache;
43using OpenSim.Framework.Communications.Clients; 44using 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;