aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs27
1 files changed, 21 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
index 341240d..86c990f 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
@@ -52,7 +52,7 @@ namespace OpenSim.Region.ClientStack.Linden
52{ 52{
53 53
54 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] 54 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
55 public class GetTextureModule : IRegionModule 55 public class GetTextureModule : ISharedRegionModule
56 { 56 {
57 private static readonly ILog m_log = 57 private static readonly ILog m_log =
58 LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 58 LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -64,12 +64,22 @@ namespace OpenSim.Region.ClientStack.Linden
64 // TODO: Change this to a config option 64 // TODO: Change this to a config option
65 const string REDIRECT_URL = null; 65 const string REDIRECT_URL = null;
66 66
67 #region ISharedRegionModule Members
67 68
68 #region IRegionModule Members 69 public void Initialise(IConfigSource pSource)
70 {
71 }
72
73 public void AddRegion(Scene s)
74 {
75 }
76
77 public void RemoveRegion(Scene s)
78 {
79 }
69 80
70 public void Initialise(Scene pScene, IConfigSource pSource) 81 public void RegionLoaded(Scene s)
71 { 82 {
72 m_scene = pScene;
73 } 83 }
74 84
75 public void PostInitialise() 85 public void PostInitialise()
@@ -81,7 +91,13 @@ namespace OpenSim.Region.ClientStack.Linden
81 public void Close() { } 91 public void Close() { }
82 92
83 public string Name { get { return "GetTextureModule"; } } 93 public string Name { get { return "GetTextureModule"; } }
84 public bool IsSharedModule { get { return false; } } 94
95 public Type ReplaceableInterface
96 {
97 get { return null; }
98 }
99
100 #endregion
85 101
86 public void RegisterCaps(UUID agentID, Caps caps) 102 public void RegisterCaps(UUID agentID, Caps caps)
87 { 103 {
@@ -92,6 +108,5 @@ namespace OpenSim.Region.ClientStack.Linden
92 caps.RegisterHandler("GetTexture", new GetTextureHandler("/CAPS/" + capID + "/", m_assetService)); 108 caps.RegisterHandler("GetTexture", new GetTextureHandler("/CAPS/" + capID + "/", m_assetService));
93 } 109 }
94 110
95 #endregion
96 } 111 }
97} 112}