mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +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:
@@ -505,8 +505,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
//variable will be set to null and attachment will
|
||||
//not be included with the group notice.
|
||||
Scene scene = (Scene)remoteClient.Scene;
|
||||
item = new InventoryItemBase(itemID, ownerID);
|
||||
item = scene.InventoryService.GetItem(item);
|
||||
item = scene.InventoryService.GetItem(ownerID, itemID);
|
||||
|
||||
if (item != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user