Fixes mantis #4691 for real. This time I tested it, and it works.
parent
0b43b263d4
commit
2fb79646c6
|
@ -223,7 +223,7 @@ namespace OpenSim.Services.LLLoginService
|
||||||
{
|
{
|
||||||
FillOutInventoryData(invSkel, libService);
|
FillOutInventoryData(invSkel, libService);
|
||||||
|
|
||||||
ActiveGestures = new ArrayList(gestures);
|
FillOutActiveGestures(gestures);
|
||||||
|
|
||||||
CircuitCode = (int)aCircuit.circuitcode;
|
CircuitCode = (int)aCircuit.circuitcode;
|
||||||
Lastname = account.LastName;
|
Lastname = account.LastName;
|
||||||
|
@ -285,6 +285,22 @@ namespace OpenSim.Services.LLLoginService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void FillOutActiveGestures(List<InventoryItemBase> gestures)
|
||||||
|
{
|
||||||
|
ArrayList list = new ArrayList();
|
||||||
|
if (gestures != null)
|
||||||
|
{
|
||||||
|
foreach (InventoryItemBase gesture in gestures)
|
||||||
|
{
|
||||||
|
Hashtable item = new Hashtable();
|
||||||
|
item["item_id"] = gesture.ID.ToString();
|
||||||
|
item["asset_id"] = gesture.AssetID.ToString();
|
||||||
|
list.Add(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ActiveGestures = list;
|
||||||
|
}
|
||||||
|
|
||||||
private void FillOutHomeData(GridUserInfo pinfo, GridRegion home)
|
private void FillOutHomeData(GridUserInfo pinfo, GridRegion home)
|
||||||
{
|
{
|
||||||
int x = 1000 * (int)Constants.RegionSize, y = 1000 * (int)Constants.RegionSize;
|
int x = 1000 * (int)Constants.RegionSize, y = 1000 * (int)Constants.RegionSize;
|
||||||
|
|
|
@ -274,6 +274,7 @@ namespace OpenSim.Services.LLLoginService
|
||||||
|
|
||||||
// Get active gestures
|
// Get active gestures
|
||||||
List<InventoryItemBase> gestures = m_InventoryService.GetActiveGestures(account.PrincipalID);
|
List<InventoryItemBase> gestures = m_InventoryService.GetActiveGestures(account.PrincipalID);
|
||||||
|
m_log.DebugFormat("[LLOGIN SERVICE]: {0} active gestures", gestures.Count);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Login the presence
|
// Login the presence
|
||||||
|
|
Loading…
Reference in New Issue