From d054ce76028b53b70a7fe2205294baa1b7780faa Mon Sep 17 00:00:00 2001 From: morphw Date: Fri, 4 May 2007 02:12:47 +0000 Subject: fix array size --- OpenSim.Framework/Types/PrimData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim.Framework/Types/PrimData.cs b/OpenSim.Framework/Types/PrimData.cs index 6c9bb83..68e2a22 100644 --- a/OpenSim.Framework/Types/PrimData.cs +++ b/OpenSim.Framework/Types/PrimData.cs @@ -97,7 +97,7 @@ namespace OpenSim.Framework.Types public byte[] ToBytes() { int i = 0; - byte[] bytes = new byte[121 + Texture.Length]; + byte[] bytes = new byte[126 + Texture.Length]; Array.Copy(OwnerID.GetBytes(), 0, bytes, i, 16); i += 16; bytes[i++] = this.PCode; bytes[i++] = (byte)(this.PathBegin % 256); -- cgit v1.1