aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 1a4b0c9..2c8a796 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -2906,11 +2906,25 @@ namespace OpenSim.Region.Environment.Scenes
2906 2906
2907 private void ItemReceived(UUID itemID) 2907 private void ItemReceived(UUID itemID)
2908 { 2908 {
2909 //MIC: DEBUG
2910 if (null == itemID)
2911 {
2912 m_log.Error("ItemReceived passed null itemID");
2913 return;
2914 }
2915
2909 int attachpoint = m_appearance.GetAttachpoint(itemID); 2916 int attachpoint = m_appearance.GetAttachpoint(itemID);
2910 if (attachpoint == 0) 2917 if (attachpoint == 0)
2911 return; 2918 return;
2912 2919
2913 UUID asset = m_appearance.GetAttachedAsset(attachpoint); 2920 UUID asset = m_appearance.GetAttachedAsset(attachpoint);
2921 //MIC: DEBUG
2922 if (null == asset)
2923 {
2924 m_log.ErrorFormat("[ATTACHMENT] Unable to locate attached asset for item {0}", itemID.ToString());
2925 return;
2926 }
2927
2914 if (asset == UUID.Zero) // We have just logged in 2928 if (asset == UUID.Zero) // We have just logged in
2915 { 2929 {
2916 m_log.InfoFormat("[ATTACHMENT] Rez attachment {0}", 2930 m_log.InfoFormat("[ATTACHMENT] Rez attachment {0}",