diff options
author | Charles Krinke | 2008-09-10 03:27:09 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-10 03:27:09 +0000 |
commit | 03672c35e46582adc77fdcf9bf6863ff41490ba7 (patch) | |
tree | 8242d740d1ea7503aa6538508134c6c8fa8791b7 /OpenSim/Region | |
parent | Mantis#2153. Thank you kindly, Godfrey for a patch that solves: (diff) | |
download | opensim-SC-03672c35e46582adc77fdcf9bf6863ff41490ba7.zip opensim-SC-03672c35e46582adc77fdcf9bf6863ff41490ba7.tar.gz opensim-SC-03672c35e46582adc77fdcf9bf6863ff41490ba7.tar.bz2 opensim-SC-03672c35e46582adc77fdcf9bf6863ff41490ba7.tar.xz |
Thank you kindly, CMickeyB for a patch that adds a
couple of debug statements for null items while we
diagnose our interrmittent inventory issues. I looked
at this and it seems helpful to others. We can back it
later if desired.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 14 |
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}", |