aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AgentCircuitData.cs
diff options
context:
space:
mode:
authorDiva Canto2010-01-17 18:04:55 -0800
committerDiva Canto2010-01-17 18:04:55 -0800
commitb2e6ec9e12ad07eb08496ebe8ca0476b793017d5 (patch)
treeac72f03b9cfca6f344d697f6d7581e5147ccf450 /OpenSim/Framework/AgentCircuitData.cs
parentOops, forgot this one. (diff)
downloadopensim-SC_OLD-b2e6ec9e12ad07eb08496ebe8ca0476b793017d5.zip
opensim-SC_OLD-b2e6ec9e12ad07eb08496ebe8ca0476b793017d5.tar.gz
opensim-SC_OLD-b2e6ec9e12ad07eb08496ebe8ca0476b793017d5.tar.bz2
opensim-SC_OLD-b2e6ec9e12ad07eb08496ebe8ca0476b793017d5.tar.xz
Agent gets there through the Gatekeeper, but still a few quirks to fix.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/AgentCircuitData.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs
index a3b999e..f2f0a53 100644
--- a/OpenSim/Framework/AgentCircuitData.cs
+++ b/OpenSim/Framework/AgentCircuitData.cs
@@ -194,9 +194,11 @@ namespace OpenSim.Framework
194 OSDArray urls = new OSDArray(ServiceURLs.Count * 2); 194 OSDArray urls = new OSDArray(ServiceURLs.Count * 2);
195 foreach (KeyValuePair<string, object> kvp in ServiceURLs) 195 foreach (KeyValuePair<string, object> kvp in ServiceURLs)
196 { 196 {
197 //System.Console.WriteLine("XXX " + kvp.Key + "=" + kvp.Value);
197 urls.Add(OSD.FromString(kvp.Key)); 198 urls.Add(OSD.FromString(kvp.Key));
198 urls.Add(OSD.FromString((kvp.Value == null) ? string.Empty : kvp.Value.ToString())); 199 urls.Add(OSD.FromString((kvp.Value == null) ? string.Empty : kvp.Value.ToString()));
199 } 200 }
201 args["service_urls"] = urls;
200 } 202 }
201 203
202 return args; 204 return args;
@@ -289,6 +291,8 @@ namespace OpenSim.Framework
289 for (int i = 0; i < urls.Count / 2; i++) 291 for (int i = 0; i < urls.Count / 2; i++)
290 { 292 {
291 ServiceURLs[urls[i * 2].AsString()] = urls[(i * 2) + 1].AsString(); 293 ServiceURLs[urls[i * 2].AsString()] = urls[(i * 2) + 1].AsString();
294 //System.Console.WriteLine("XXX " + urls[i * 2].AsString() + "=" + urls[(i * 2) + 1].AsString());
295
292 } 296 }
293 } 297 }
294 } 298 }