From 17e43dcc0f32cbdb030e20495dc179a6f8c3ef09 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Thu, 6 Nov 2008 19:27:18 +0000 Subject: Mantis#2566. Thank you kindly, Diva for a patch that: This patch introduces a couple of read-only properties, so that I can grab the asset server plugin from a region module. This is needed to set up an http service for accessing standalone assets remotely. --- OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Framework/Communications/Cache/AssetServerBase.cs') diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index 9f4f480..a289fb7 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs @@ -45,6 +45,11 @@ namespace OpenSim.Framework.Communications.Cache protected Thread m_localAssetServerThread; protected IAssetProviderPlugin m_assetProvider; + public IAssetProviderPlugin AssetProviderPlugin + { + get { return m_assetProvider; } + } + // Temporarily hardcoded - should be a plugin protected IAssetLoader assetLoader = new AssetLoaderFileSystem(); -- cgit v1.1