return of the inv-lib-root patch from Justin Casey (IBM)
Should fix libsl login ability. No long breaks my login to test environment.afrisby
parent
0b2934a1b1
commit
d2fe290bb6
|
@ -55,6 +55,7 @@ namespace OpenSim.Framework.UserManagement
|
|||
private ArrayList initialOutfit;
|
||||
private ArrayList agentInventory;
|
||||
private ArrayList inventoryLibraryOwner;
|
||||
private ArrayList inventoryLibRoot;
|
||||
private ArrayList inventoryLibrary;
|
||||
|
||||
private UserInfo userProfile;
|
||||
|
@ -282,6 +283,7 @@ namespace OpenSim.Framework.UserManagement
|
|||
responseData["inventory-skeleton"] = agentInventory;
|
||||
responseData["inventory-skel-lib"] = inventoryLibrary;
|
||||
responseData["inventory-root"] = inventoryRoot;
|
||||
responseData["inventory-lib-root"] = inventoryLibRoot;
|
||||
responseData["gestures"] = new ArrayList(); // todo
|
||||
responseData["inventory-lib-owner"] = inventoryLibraryOwner;
|
||||
responseData["initial-outfit"] = initialOutfit;
|
||||
|
@ -505,6 +507,12 @@ namespace OpenSim.Framework.UserManagement
|
|||
set { inventoryLibraryOwner = value; }
|
||||
}
|
||||
|
||||
public ArrayList InventoryLibRoot
|
||||
{
|
||||
get { return inventoryLibRoot; }
|
||||
set { inventoryLibRoot = value; }
|
||||
}
|
||||
|
||||
public string Home
|
||||
{
|
||||
get { return home; }
|
||||
|
|
|
@ -135,6 +135,13 @@ namespace OpenSim.Framework.UserManagement
|
|||
logResponse.InventoryRoot = InventoryRoot;
|
||||
logResponse.InventorySkeleton = AgentInventoryArray;
|
||||
logResponse.InventoryLibrary = GetInventoryLibrary();
|
||||
|
||||
Hashtable InventoryLibRootHash = new Hashtable();
|
||||
InventoryLibRootHash["folder_id"] = "00000112-000f-0000-0000-000100bba000";
|
||||
ArrayList InventoryLibRoot = new ArrayList();
|
||||
InventoryLibRoot.Add(InventoryLibRootHash);
|
||||
logResponse.InventoryLibRoot = InventoryLibRoot;
|
||||
|
||||
logResponse.InventoryLibraryOwner = GetLibraryOwner();
|
||||
logResponse.CircuitCode = (Int32)circode;
|
||||
//logResponse.RegionX = 0; //overwritten
|
||||
|
|
Loading…
Reference in New Issue