aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs4
1 files changed, 3 insertions, 1 deletions
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
384 m_log.DebugFormat("[HGStandaloneInvService]: Update item {0} from {1}", item.ID, item.Owner); 384 m_log.DebugFormat("[HGStandaloneInvService]: Update item {0} from {1}", item.ID, item.Owner);
385 InventoryItemBase it = m_inventoryService.GetInventoryItem(item.ID); 385 InventoryItemBase it = m_inventoryService.GetInventoryItem(item.ID);
386 item.CurrentPermissions = it.CurrentPermissions; 386 item.CurrentPermissions = it.CurrentPermissions;
387 item.AssetID = it.AssetID;
387 if (m_inventoryService.UpdateItem(item)) 388 if (m_inventoryService.UpdateItem(item))
388 return item; 389 return item;
389 else 390 else
@@ -500,7 +501,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
500 if (theasset != null) 501 if (theasset != null)
501 { 502 {
502 asset = theasset; 503 asset = theasset;
503 m_log.Debug(" >> Sending assetID " + item.AssetID); 504 //m_log.Debug(" >> Sending assetID " + item.AssetID);
504 } 505 }
505 return asset; 506 return asset;
506 } 507 }
@@ -509,6 +510,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
509 { 510 {
510 m_log.Info("[HGStandaloneInvService]: Post asset " + asset.FullID); 511 m_log.Info("[HGStandaloneInvService]: Post asset " + asset.FullID);
511 m_assetProvider.CreateAsset(asset); 512 m_assetProvider.CreateAsset(asset);
513
512 return true; 514 return true;
513 } 515 }
514 516