Add AssetService of type IAssetService to Scene

0.6.5-rc1
Melanie Thielker 2009-05-11 21:04:27 +00:00
parent 7d23e0f481
commit f948fab4da
2 changed files with 15 additions and 0 deletions

View File

@ -38,6 +38,7 @@ using Nini.Config;
using OpenMetaverse;
using OpenMetaverse.Imaging;
using OpenSim.Framework;
using OpenSim.Services.Interfaces;
using OpenSim.Framework.Communications;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Communications.Clients;
@ -125,6 +126,19 @@ namespace OpenSim.Region.Framework.Scenes
public IXfer XferManager;
protected IAssetService m_AssetService = null;
public IAssetService AssetService
{
get
{
if (m_AssetService == null)
m_AssetService = RequestModuleInterface<IAssetService>();
return m_AssetService;
}
}
protected IXMLRPC m_xmlrpcModule;
protected IWorldComm m_worldCommModule;
protected IAvatarFactory m_AvatarFactory;

View File

@ -655,6 +655,7 @@
<Reference name="OpenMetaverseTypes.dll"/>
<Reference name="OpenMetaverse.StructuredData.dll"/>
<Reference name="OpenMetaverse.dll"/>
<Reference name="OpenSim.Services.Interfaces"/>
<Reference name="OpenSim.Framework"/>
<Reference name="OpenSim.Framework.Communications"/>
<Reference name="OpenSim.Data" />