diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 6a3746c8fa..9cfc84fe32 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -133,8 +133,15 @@ namespace OpenSim.Region.Framework.Scenes get { if (m_AssetService == null) + { m_AssetService = RequestModuleInterface(); + if( m_AssetService == null ) + { + throw new Exception("No IAssetService available."); + } + } + return m_AssetService; } }