aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
authorCharles Krinke2007-11-01 03:56:54 +0000
committerCharles Krinke2007-11-01 03:56:54 +0000
commit8af272b3abdb4ecc64fa7cf46ef0205e4398f01c (patch)
tree4100dee3fdad35cce23ce4cb645fa443bf7c90da /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
parentThank you Melanie for a patch to SceneObjectPart.cs so that on first transmis... (diff)
downloadopensim-SC-8af272b3abdb4ecc64fa7cf46ef0205e4398f01c.zip
opensim-SC-8af272b3abdb4ecc64fa7cf46ef0205e4398f01c.tar.gz
opensim-SC-8af272b3abdb4ecc64fa7cf46ef0205e4398f01c.tar.bz2
opensim-SC-8af272b3abdb4ecc64fa7cf46ef0205e4398f01c.tar.xz
Thank you, Melanie for solving: When receiving an ObjectAdd packet, the Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 3b996d5..1e14587 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -243,7 +243,7 @@ namespace OpenSim.Region.ClientStack
243 { 243 {
244 ObjectAddPacket addPacket = (ObjectAddPacket) Pack; 244 ObjectAddPacket addPacket = (ObjectAddPacket) Pack;
245 PrimitiveBaseShape shape = GetShapeFromAddPacket(addPacket); 245 PrimitiveBaseShape shape = GetShapeFromAddPacket(addPacket);
246 OnAddPrim(AgentId, addPacket.ObjectData.RayEnd, shape); 246 OnAddPrim(AgentId, addPacket.ObjectData.RayEnd, addPacket.ObjectData.Rotation, shape);
247 } 247 }
248 break; 248 break;
249 case PacketType.ObjectShape: 249 case PacketType.ObjectShape: