aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 6a3746c..9cfc84f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -133,8 +133,15 @@ namespace OpenSim.Region.Framework.Scenes
133 get 133 get
134 { 134 {
135 if (m_AssetService == null) 135 if (m_AssetService == null)
136 {
136 m_AssetService = RequestModuleInterface<IAssetService>(); 137 m_AssetService = RequestModuleInterface<IAssetService>();
137 138
139 if( m_AssetService == null )
140 {
141 throw new Exception("No IAssetService available.");
142 }
143 }
144
138 return m_AssetService; 145 return m_AssetService;
139 } 146 }
140 } 147 }