aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/LoadImageURLModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/LoadImageURLModule.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs b/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs
index 0548b9d..1bfc647 100644
--- a/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs
+++ b/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs
@@ -38,6 +38,7 @@ using OpenSim.Region.Environment.Scenes;
38 38
39namespace OpenSim.Region.Environment.Modules 39namespace OpenSim.Region.Environment.Modules
40{ 40{
41
41 public class LoadImageURLModule : IRegionModule, IDynamicTextureRender 42 public class LoadImageURLModule : IRegionModule, IDynamicTextureRender
42 { 43 {
43 private string m_name = "LoadImageURL"; 44 private string m_name = "LoadImageURL";
@@ -55,7 +56,10 @@ namespace OpenSim.Region.Environment.Modules
55 public void PostInitialise() 56 public void PostInitialise()
56 { 57 {
57 m_textureManager = m_scene.RequestModuleInterface<IDynamicTextureManager>(); 58 m_textureManager = m_scene.RequestModuleInterface<IDynamicTextureManager>();
58 m_textureManager.RegisterRender(GetContentType(), this); 59 if (m_textureManager != null)
60 {
61 m_textureManager.RegisterRender(GetContentType(), this);
62 }
59 } 63 }
60 64
61 public void Close() 65 public void Close()