Add AssetService of type IAssetService to Scene
parent
7d23e0f481
commit
f948fab4da
|
@ -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;
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue