diff options
author | Melanie | 2010-01-29 11:47:45 +0000 |
---|---|---|
committer | Melanie | 2010-01-29 11:47:45 +0000 |
commit | 9e37d246240db077fe7a4e1389f5220d72d6542c (patch) | |
tree | 85290fe620e7a6867888ee007c346ea102e4dcae | |
parent | Resolve one more conflict I overlooked (diff) | |
download | opensim-SC_OLD-9e37d246240db077fe7a4e1389f5220d72d6542c.zip opensim-SC_OLD-9e37d246240db077fe7a4e1389f5220d72d6542c.tar.gz opensim-SC_OLD-9e37d246240db077fe7a4e1389f5220d72d6542c.tar.bz2 opensim-SC_OLD-9e37d246240db077fe7a4e1389f5220d72d6542c.tar.xz |
Prevent empty ObjectProperties packets being sent
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 64e45d0..1496f5c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3885,6 +3885,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3885 | { | 3885 | { |
3886 | m_propertiesPacketTimer.Stop(); | 3886 | m_propertiesPacketTimer.Stop(); |
3887 | 3887 | ||
3888 | if (m_propertiesBlocks.Count == 0) | ||
3889 | return; | ||
3890 | |||
3888 | proper.ObjectData = new ObjectPropertiesPacket.ObjectDataBlock[m_propertiesBlocks.Count]; | 3891 | proper.ObjectData = new ObjectPropertiesPacket.ObjectDataBlock[m_propertiesBlocks.Count]; |
3889 | 3892 | ||
3890 | int index = 0; | 3893 | int index = 0; |