diff options
author | lbsa71 | 2007-07-13 12:32:34 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-13 12:32:34 +0000 |
commit | 33ef93f4a6ed66dcd06733b3909e647b33faa698 (patch) | |
tree | d161a1fe96353ea4077b62f12aa453a7ebd77d9e /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |
parent | * OGS project is now back down to zero warnings. (diff) | |
download | opensim-SC-33ef93f4a6ed66dcd06733b3909e647b33faa698.zip opensim-SC-33ef93f4a6ed66dcd06733b3909e647b33faa698.tar.gz opensim-SC-33ef93f4a6ed66dcd06733b3909e647b33faa698.tar.bz2 opensim-SC-33ef93f4a6ed66dcd06733b3909e647b33faa698.tar.xz |
* ObjectAddPacket now confined to ClientView,´using PrimitiveBaseShape instead - w00t!
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index df2bf34..013b755 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -217,7 +217,10 @@ namespace OpenSim.Region.ClientStack | |||
217 | case PacketType.ObjectAdd: | 217 | case PacketType.ObjectAdd: |
218 | if (OnAddPrim != null) | 218 | if (OnAddPrim != null) |
219 | { | 219 | { |
220 | OnAddPrim(Pack, this); | 220 | ObjectAddPacket packet = (ObjectAddPacket) Pack ; |
221 | PrimitiveBaseShape primShape = PrimitiveBaseShape.FromAddPacket( packet ); | ||
222 | |||
223 | OnAddPrim(this.AgentId, packet.ObjectData.RayEnd, primShape ); | ||
221 | } | 224 | } |
222 | break; | 225 | break; |
223 | case PacketType.ObjectShape: | 226 | case PacketType.ObjectShape: |