aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs12
1 files changed, 3 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 177cf1e..51a0f2a 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3727,8 +3727,8 @@ namespace OpenSim.Region.Framework.Scenes
3727 return; 3727 return;
3728 3728
3729 UUID itemID = m_appearance.GetAttachedItem(p); 3729 UUID itemID = m_appearance.GetAttachedItem(p);
3730 UUID assetID = m_appearance.GetAttachedAsset(p);
3731 3730
3731 //UUID assetID = m_appearance.GetAttachedAsset(p);
3732 // For some reason assetIDs are being written as Zero's in the DB -- need to track tat down 3732 // For some reason assetIDs are being written as Zero's in the DB -- need to track tat down
3733 // But they're not used anyway, the item is being looked up for now, so let's proceed. 3733 // But they're not used anyway, the item is being looked up for now, so let's proceed.
3734 //if (UUID.Zero == assetID) 3734 //if (UUID.Zero == assetID)
@@ -3739,17 +3739,11 @@ namespace OpenSim.Region.Framework.Scenes
3739 3739
3740 try 3740 try
3741 { 3741 {
3742 // Rez from inventory 3742 m_scene.AttachmentsModule.RezSingleAttachmentFromInventory(ControllingClient, itemID, (uint)p);
3743 UUID asset
3744 = m_scene.AttachmentsModule.RezSingleAttachmentFromInventory(ControllingClient, itemID, (uint)p);
3745
3746 m_log.InfoFormat(
3747 "[ATTACHMENT]: Rezzed attachment in point {0} from item {1} and asset {2} ({3})",
3748 p, itemID, assetID, asset);
3749 } 3743 }
3750 catch (Exception e) 3744 catch (Exception e)
3751 { 3745 {
3752 m_log.ErrorFormat("[ATTACHMENT]: Unable to rez attachment: {0}", e.ToString()); 3746 m_log.ErrorFormat("[ATTACHMENT]: Unable to rez attachment: {0}{1}", e.Message, e.StackTrace);
3753 } 3747 }
3754 } 3748 }
3755 } 3749 }