Minor bug fix in UpdateItem (meta data).
parent
b857635712
commit
730b78114f
|
@ -384,6 +384,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||||
m_log.DebugFormat("[HGStandaloneInvService]: Update item {0} from {1}", item.ID, item.Owner);
|
m_log.DebugFormat("[HGStandaloneInvService]: Update item {0} from {1}", item.ID, item.Owner);
|
||||||
InventoryItemBase it = m_inventoryService.GetInventoryItem(item.ID);
|
InventoryItemBase it = m_inventoryService.GetInventoryItem(item.ID);
|
||||||
item.CurrentPermissions = it.CurrentPermissions;
|
item.CurrentPermissions = it.CurrentPermissions;
|
||||||
|
item.AssetID = it.AssetID;
|
||||||
if (m_inventoryService.UpdateItem(item))
|
if (m_inventoryService.UpdateItem(item))
|
||||||
return item;
|
return item;
|
||||||
else
|
else
|
||||||
|
@ -500,7 +501,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||||
if (theasset != null)
|
if (theasset != null)
|
||||||
{
|
{
|
||||||
asset = theasset;
|
asset = theasset;
|
||||||
m_log.Debug(" >> Sending assetID " + item.AssetID);
|
//m_log.Debug(" >> Sending assetID " + item.AssetID);
|
||||||
}
|
}
|
||||||
return asset;
|
return asset;
|
||||||
}
|
}
|
||||||
|
@ -509,6 +510,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||||
{
|
{
|
||||||
m_log.Info("[HGStandaloneInvService]: Post asset " + asset.FullID);
|
m_log.Info("[HGStandaloneInvService]: Post asset " + asset.FullID);
|
||||||
m_assetProvider.CreateAsset(asset);
|
m_assetProvider.CreateAsset(asset);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue