aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
authorlbsa712007-07-13 12:32:34 +0000
committerlbsa712007-07-13 12:32:34 +0000
commit33ef93f4a6ed66dcd06733b3909e647b33faa698 (patch)
treed161a1fe96353ea4077b62f12aa453a7ebd77d9e /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
parent* OGS project is now back down to zero warnings. (diff)
downloadopensim-SC_OLD-33ef93f4a6ed66dcd06733b3909e647b33faa698.zip
opensim-SC_OLD-33ef93f4a6ed66dcd06733b3909e647b33faa698.tar.gz
opensim-SC_OLD-33ef93f4a6ed66dcd06733b3909e647b33faa698.tar.bz2
opensim-SC_OLD-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.cs5
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: