diff options
-rw-r--r-- | OpenSim.Framework/Types/PrimData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
97 | public byte[] ToBytes() | 97 | public byte[] ToBytes() |
98 | { | 98 | { |
99 | int i = 0; | 99 | int i = 0; |
100 | byte[] bytes = new byte[121 + Texture.Length]; | 100 | byte[] bytes = new byte[126 + Texture.Length]; |
101 | Array.Copy(OwnerID.GetBytes(), 0, bytes, i, 16); i += 16; | 101 | Array.Copy(OwnerID.GetBytes(), 0, bytes, i, 16); i += 16; |
102 | bytes[i++] = this.PCode; | 102 | bytes[i++] = this.PCode; |
103 | bytes[i++] = (byte)(this.PathBegin % 256); | 103 | bytes[i++] = (byte)(this.PathBegin % 256); |