mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
minor: Clean up log messages generated when an item is attached
This commit is contained in:
@@ -3727,8 +3727,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return;
|
||||
|
||||
UUID itemID = m_appearance.GetAttachedItem(p);
|
||||
UUID assetID = m_appearance.GetAttachedAsset(p);
|
||||
|
||||
//UUID assetID = m_appearance.GetAttachedAsset(p);
|
||||
// For some reason assetIDs are being written as Zero's in the DB -- need to track tat down
|
||||
// But they're not used anyway, the item is being looked up for now, so let's proceed.
|
||||
//if (UUID.Zero == assetID)
|
||||
@@ -3739,17 +3739,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
try
|
||||
{
|
||||
// Rez from inventory
|
||||
UUID asset
|
||||
= m_scene.AttachmentsModule.RezSingleAttachmentFromInventory(ControllingClient, itemID, (uint)p);
|
||||
|
||||
m_log.InfoFormat(
|
||||
"[ATTACHMENT]: Rezzed attachment in point {0} from item {1} and asset {2} ({3})",
|
||||
p, itemID, assetID, asset);
|
||||
m_scene.AttachmentsModule.RezSingleAttachmentFromInventory(ControllingClient, itemID, (uint)p);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.ErrorFormat("[ATTACHMENT]: Unable to rez attachment: {0}", e.ToString());
|
||||
m_log.ErrorFormat("[ATTACHMENT]: Unable to rez attachment: {0}{1}", e.Message, e.StackTrace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user