aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorMelanie2010-01-29 11:47:45 +0000
committerMelanie2010-01-29 11:47:45 +0000
commit9e37d246240db077fe7a4e1389f5220d72d6542c (patch)
tree85290fe620e7a6867888ee007c346ea102e4dcae /OpenSim/Region/ClientStack
parentResolve one more conflict I overlooked (diff)
downloadopensim-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
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs3
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;