diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index 13415f8..54cf285 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | |||
@@ -137,7 +137,11 @@ namespace OpenSim.Region.ClientStack.Linden | |||
137 | else | 137 | else |
138 | { | 138 | { |
139 | // m_log.DebugFormat("[GETTEXTURE]: {0} in region {1}", m_URL, m_scene.RegionInfo.RegionName); | 139 | // m_log.DebugFormat("[GETTEXTURE]: {0} in region {1}", m_URL, m_scene.RegionInfo.RegionName); |
140 | caps.RegisterHandler("GetTexture", m_URL); | 140 | IExternalCapsModule handler = m_scene.RequestModuleInterface<IExternalCapsModule>(); |
141 | if (handler != null) | ||
142 | handler.RegisterExternalUserCapsHandler(agentID,caps,"GetTexture",m_URL); | ||
143 | else | ||
144 | caps.RegisterHandler("GetTexture", m_URL); | ||
141 | } | 145 | } |
142 | } | 146 | } |
143 | 147 | ||