Also restoring proper function for Simian external GetTexture functionality.
parent
721db9418f
commit
366e81b977
|
@ -389,17 +389,16 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
port = MainServer.Instance.SSLPort;
|
port = MainServer.Instance.SSLPort;
|
||||||
protocol = "https";
|
protocol = "https";
|
||||||
}
|
}
|
||||||
IExternalCapsModule handler = m_scene.RequestModuleInterface<IExternalCapsModule>();
|
|
||||||
if (handler != null)
|
|
||||||
handler.RegisterExternalUserCapsHandler(agentID, caps, "GetTexture", capUrl);
|
|
||||||
else
|
|
||||||
caps.RegisterHandler("GetTexture", String.Format("{0}://{1}:{2}{3}", protocol, hostName, port, capUrl));
|
|
||||||
m_pollservices[agentID] = args;
|
m_pollservices[agentID] = args;
|
||||||
m_capsDict[agentID] = capUrl;
|
m_capsDict[agentID] = capUrl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
caps.RegisterHandler("GetTexture", m_Url);
|
IExternalCapsModule handler = m_scene.RequestModuleInterface<IExternalCapsModule>();
|
||||||
|
if (handler != null)
|
||||||
|
handler.RegisterExternalUserCapsHandler(agentID, caps, "GetTexture", m_Url);
|
||||||
|
else
|
||||||
|
caps.RegisterHandler("GetTexture", m_Url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue