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.
0.6.0-stable
Charles Krinke 2008-09-10 03:27:09 +00:00
parent 7305dadba2
commit 03672c35e4
1 changed files with 14 additions and 0 deletions

View File

@ -2906,11 +2906,25 @@ namespace OpenSim.Region.Environment.Scenes
private void ItemReceived(UUID itemID)
{
//MIC: DEBUG
if (null == itemID)
{
m_log.Error("ItemReceived passed null itemID");
return;
}
int attachpoint = m_appearance.GetAttachpoint(itemID);
if (attachpoint == 0)
return;
UUID asset = m_appearance.GetAttachedAsset(attachpoint);
//MIC: DEBUG
if (null == asset)
{
m_log.ErrorFormat("[ATTACHMENT] Unable to locate attached asset for item {0}", itemID.ToString());
return;
}
if (asset == UUID.Zero) // We have just logged in
{
m_log.InfoFormat("[ATTACHMENT] Rez attachment {0}",