Prevent empty ObjectProperties packets being sent

avinationmerge
Melanie 2010-01-29 11:47:45 +00:00
parent 44c86cedcf
commit 9e37d24624
1 changed files with 3 additions and 0 deletions

View File

@ -3885,6 +3885,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
m_propertiesPacketTimer.Stop();
if (m_propertiesBlocks.Count == 0)
return;
proper.ObjectData = new ObjectPropertiesPacket.ObjectDataBlock[m_propertiesBlocks.Count];
int index = 0;