From 730b78114f2e26be9a39a02785af1ed9fbda44f1 Mon Sep 17 00:00:00 2001 From: diva Date: Sat, 28 Mar 2009 23:50:37 +0000 Subject: Minor bug fix in UpdateItem (meta data). --- OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs b/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs index 2c218fc..e619f13 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs @@ -384,6 +384,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid m_log.DebugFormat("[HGStandaloneInvService]: Update item {0} from {1}", item.ID, item.Owner); InventoryItemBase it = m_inventoryService.GetInventoryItem(item.ID); item.CurrentPermissions = it.CurrentPermissions; + item.AssetID = it.AssetID; if (m_inventoryService.UpdateItem(item)) return item; else @@ -500,7 +501,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid if (theasset != null) { asset = theasset; - m_log.Debug(" >> Sending assetID " + item.AssetID); + //m_log.Debug(" >> Sending assetID " + item.AssetID); } return asset; } @@ -509,6 +510,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid { m_log.Info("[HGStandaloneInvService]: Post asset " + asset.FullID); m_assetProvider.CreateAsset(asset); + return true; } -- cgit v1.1