diff options
author | Melanie Thielker | 2008-09-08 02:40:20 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-08 02:40:20 +0000 |
commit | 490ac0be005a989c86ebde62aad137fd2da7cbd8 (patch) | |
tree | 0bd15a47dea6d2dea470d50779603970a0493fd9 /OpenSim/Framework | |
parent | Implement llEjectFromLand. (diff) | |
download | opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.zip opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.tar.gz opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.tar.bz2 opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.tar.xz |
Implement proper persistence of the following prim properties:
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/PacketPool.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs index 07a2f3a..e6c519e 100644 --- a/OpenSim/Framework/PacketPool.cs +++ b/OpenSim/Framework/PacketPool.cs | |||
@@ -111,6 +111,10 @@ namespace OpenSim.Framework | |||
111 | { | 111 | { |
112 | PacketType type = GetType(bytes); | 112 | PacketType type = GetType(bytes); |
113 | 113 | ||
114 | int z; | ||
115 | for (z = 0 ; z < zeroBuffer.Length ; z++) | ||
116 | zeroBuffer[z] = (byte)0; | ||
117 | |||
114 | int i = 0; | 118 | int i = 0; |
115 | Packet packet = GetPacket(type); | 119 | Packet packet = GetPacket(type); |
116 | packet.FromBytes(bytes, ref i, ref packetEnd, zeroBuffer); | 120 | packet.FromBytes(bytes, ref i, ref packetEnd, zeroBuffer); |