From ad624f703d75c048d4bb0fc1f8bbe02ef20dd2dd Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Mon, 26 Oct 2009 13:41:20 -0700 Subject: ParcelObjectOwnersReplyPacket has null DataBlock when a client requests a list of their prims in the region and none exist. Instead of leaving pack.Data null, this patch sets a new DataBlock[0]; --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 6f0b177..edfb13c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -4158,6 +4158,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP pack.Data = dataBlock; } + else + { + pack.Data = new ParcelObjectOwnersReplyPacket.DataBlock[0]; + } pack.Header.Zerocoded = true; this.OutPacket(pack, ThrottleOutPacketType.Task); } -- cgit v1.1