* One more tweak in the OGP module to support OGP draft3.

* Recognize the proper cap message for rez_avatar/rez in the response cap.
0.6.0-stable
Teravus Ovares 2008-09-19 23:59:49 +00:00
parent 293a822f74
commit 12946e3327
1 changed files with 8 additions and 1 deletions

View File

@ -760,7 +760,10 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
//LLSDMap outboundRequestMap = new LLSDMap();
LLSDMap inboundRequestMap = (LLSDMap)request;
string rezAvatarString = inboundRequestMap["rez_avatar"].AsString();
if (rezAvatarString.Length == 0)
{
rezAvatarString = inboundRequestMap["rez_avatar/rez"].AsString();
}
LLSDArray LookAtArray = new LLSDArray();
LookAtArray.Add(LLSD.FromInteger(1));
LookAtArray.Add(LLSD.FromInteger(1));
@ -802,6 +805,10 @@ namespace OpenSim.Region.Environment.Modules.InterGrid
if (rezResponseMap.ContainsKey("region_seed_capability"))
rezRespSeedCap = rezResponseMap["region_seed_capability"].AsString();
// REPLACEMENT
if (rezResponseMap.ContainsKey("rez_avatar/rez"))
rezRespSeedCap = rezResponseMap["rez_avatar/rez"].AsString();
// DEPRECIATED
string rezRespSim_ip = rezResponseMap["sim_ip"].AsString();