aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps
diff options
context:
space:
mode:
authorMic Bowman2013-07-31 15:37:15 -0700
committerMic Bowman2013-07-31 15:37:15 -0700
commit12995924052a1804f01dceb80803447fccc1d9fe (patch)
tree161d718478d91b01c82a44c11c0923d2b50625c0 /OpenSim/Region/ClientStack/Linden/Caps
parentAdd the Simian service config to the GridCommon example (diff)
downloadopensim-SC-12995924052a1804f01dceb80803447fccc1d9fe.zip
opensim-SC-12995924052a1804f01dceb80803447fccc1d9fe.tar.gz
opensim-SC-12995924052a1804f01dceb80803447fccc1d9fe.tar.bz2
opensim-SC-12995924052a1804f01dceb80803447fccc1d9fe.tar.xz
Experimental comment to eneralize the handling of Linden caps when the
cap is something other than "localhost". A new interface for handling external caps is supported with an example implemented for Simian. The only linden cap supporting this interface right now is the GetTexture cap.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs6
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