Don't blow our brains out if LLClientView.BulkInventoryUpdate() is wrongly passed a null node reference.
Addresses worst aspect of http://opensimulator.org/mantis/view.php?id=57520.7.2-post-fixes
parent
88ef35cb23
commit
1baadac59a
|
@ -1958,8 +1958,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
SendBulkUpdateInventoryItem((InventoryItemBase)node);
|
||||
else if (node is InventoryFolderBase)
|
||||
SendBulkUpdateInventoryFolder((InventoryFolderBase)node);
|
||||
else if (node != null)
|
||||
m_log.ErrorFormat("[CLIENT]: {0} sent unknown inventory node named {1}", Name, node.Name);
|
||||
else
|
||||
m_log.ErrorFormat("[CLIENT]: Client for {0} sent unknown inventory node named {1}", Name, node.Name);
|
||||
m_log.ErrorFormat("[CLIENT]: {0} sent null inventory node", Name);
|
||||
}
|
||||
|
||||
protected void SendBulkUpdateInventoryItem(InventoryItemBase item)
|
||||
|
|
Loading…
Reference in New Issue