aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginResponse.cs
diff options
context:
space:
mode:
authorDiva Canto2010-05-16 10:32:57 -0700
committerDiva Canto2010-05-16 10:32:57 -0700
commit2fb79646c6622b7a6318d9971e0462c559e4ccfd (patch)
treedb97d999afe99be7f4f9aa1577a3df21c198ae50 /OpenSim/Services/LLLoginService/LLLoginResponse.cs
parentFixes mantis #4691 (diff)
downloadopensim-SC-2fb79646c6622b7a6318d9971e0462c559e4ccfd.zip
opensim-SC-2fb79646c6622b7a6318d9971e0462c559e4ccfd.tar.gz
opensim-SC-2fb79646c6622b7a6318d9971e0462c559e4ccfd.tar.bz2
opensim-SC-2fb79646c6622b7a6318d9971e0462c559e4ccfd.tar.xz
Fixes mantis #4691 for real. This time I tested it, and it works.
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginResponse.cs')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginResponse.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs
index 32809ca..54d53fb 100644
--- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs
@@ -223,7 +223,7 @@ namespace OpenSim.Services.LLLoginService
223 { 223 {
224 FillOutInventoryData(invSkel, libService); 224 FillOutInventoryData(invSkel, libService);
225 225
226 ActiveGestures = new ArrayList(gestures); 226 FillOutActiveGestures(gestures);
227 227
228 CircuitCode = (int)aCircuit.circuitcode; 228 CircuitCode = (int)aCircuit.circuitcode;
229 Lastname = account.LastName; 229 Lastname = account.LastName;
@@ -285,6 +285,22 @@ namespace OpenSim.Services.LLLoginService
285 } 285 }
286 } 286 }
287 287
288 private void FillOutActiveGestures(List<InventoryItemBase> gestures)
289 {
290 ArrayList list = new ArrayList();
291 if (gestures != null)
292 {
293 foreach (InventoryItemBase gesture in gestures)
294 {
295 Hashtable item = new Hashtable();
296 item["item_id"] = gesture.ID.ToString();
297 item["asset_id"] = gesture.AssetID.ToString();
298 list.Add(item);
299 }
300 }
301 ActiveGestures = list;
302 }
303
288 private void FillOutHomeData(GridUserInfo pinfo, GridRegion home) 304 private void FillOutHomeData(GridUserInfo pinfo, GridRegion home)
289 { 305 {
290 int x = 1000 * (int)Constants.RegionSize, y = 1000 * (int)Constants.RegionSize; 306 int x = 1000 * (int)Constants.RegionSize, y = 1000 * (int)Constants.RegionSize;