From 1bbf06405c109a4299a9494555f8223dd954610b Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 15 Aug 2009 09:36:45 -0700 Subject: Changed FromAssetID to FromItemID --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index a941a74..cea9044 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -1906,8 +1906,8 @@ namespace OpenSim.Region.Framework.Scenes } item.CreationDate = Util.UnixTimeSinceEpoch(); - // sets assetID so client can show asset as 'attached' in inventory - grp.SetFromAssetID(item.ID); + // sets itemID so client can show item as 'attached' in inventory + grp.SetFromItemID(item.ID); if (InventoryService.AddItem(item)) remoteClient.SendInventoryItemCreateUpdate(item, 0); @@ -2044,7 +2044,7 @@ namespace OpenSim.Region.Framework.Scenes } else { - group.SetFromAssetID(itemID); + group.SetFromItemID(itemID); } SceneObjectPart rootPart = null; @@ -2373,7 +2373,7 @@ namespace OpenSim.Region.Framework.Scenes if (part == null || part.ParentGroup == null) return; - UUID inventoryID = part.ParentGroup.GetFromAssetID(); + UUID inventoryID = part.ParentGroup.GetFromItemID(); ScenePresence presence; if (TryGetAvatar(remoteClient.AgentId, out presence)) -- cgit v1.1