mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Making sure we fail a bit earlier if we have no AssetService
This commit is contained in:
@@ -133,8 +133,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
get
|
||||
{
|
||||
if (m_AssetService == null)
|
||||
{
|
||||
m_AssetService = RequestModuleInterface<IAssetService>();
|
||||
|
||||
if( m_AssetService == null )
|
||||
{
|
||||
throw new Exception("No IAssetService available.");
|
||||
}
|
||||
}
|
||||
|
||||
return m_AssetService;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user