mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Finally remove the requirement for an InventoryItem/FolderBase object to
be passed into inventory queries. This makes the API more homogenous and also will more clearly show coding errors related to HG inventory where the .Owner field has a meaning for a query but wasn't always set.
This commit is contained in:
@@ -445,8 +445,7 @@ namespace OpenSim.Groups
|
||||
|
||||
UUID itemID = binBucketMap["item_id"].AsUUID();
|
||||
UUID ownerID = binBucketMap["owner_id"].AsUUID();
|
||||
item = new InventoryItemBase(itemID, ownerID);
|
||||
item = m_sceneList[0].InventoryService.GetItem(item);
|
||||
item = m_sceneList[0].InventoryService.GetItem(ownerID, itemID);
|
||||
}
|
||||
else
|
||||
m_log.DebugFormat("[Groups]: Received OSD with unexpected type: {0}", binBucketOSD.GetType());
|
||||
|
||||
Reference in New Issue
Block a user