* Minor refactoring in OGS1InventoryService
parent
7bfd7e6f08
commit
8f345d36d8
|
@ -58,19 +58,7 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
{
|
||||
InventoryRequest request = new InventoryRequest(userID, callback);
|
||||
m_RequestingInventory.Add(userID, request);
|
||||
RequestInventory(userID);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Request the entire user's inventory (folders and items) from the inventory server.
|
||||
///
|
||||
/// XXX May want to change this so that we don't end up shuffling over data which might prove
|
||||
/// entirely unnecessary.
|
||||
/// </summary>
|
||||
/// <param name="userID"></param>
|
||||
private void RequestInventory(LLUUID userID)
|
||||
{
|
||||
try
|
||||
{
|
||||
m_log.InfoFormat(
|
||||
|
@ -89,6 +77,11 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
e.Source, e.Message);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: RequestInventoryForUser() - could you not find user profile for {0}", userID);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Callback used by the inventory server GetInventory request
|
||||
|
|
Loading…
Reference in New Issue