diff options
author | Justin Clark-Casey (justincc) | 2010-09-13 20:44:32 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-09-13 20:44:32 +0100 |
commit | ff098ae110bb3175fe6a7bf37a03e3f22eb829e3 (patch) | |
tree | d622cae56c26230d130c50f73e4e58cbcea2f2eb /OpenSim/Region/Framework | |
parent | Adding missing ConnectionString lines to [DatabaseService] sections for SQLit... (diff) | |
download | opensim-SC_OLD-ff098ae110bb3175fe6a7bf37a03e3f22eb829e3.zip opensim-SC_OLD-ff098ae110bb3175fe6a7bf37a03e3f22eb829e3.tar.gz opensim-SC_OLD-ff098ae110bb3175fe6a7bf37a03e3f22eb829e3.tar.bz2 opensim-SC_OLD-ff098ae110bb3175fe6a7bf37a03e3f22eb829e3.tar.xz |
minor: Clean up log messages generated when an item is attached
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 12 |
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 | } |