mirror of
https://github.com/opensim/opensim.git
synced 2026-05-17 20:25:34 +08:00
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.
This commit is contained in:
@@ -243,7 +243,7 @@ namespace OpenSim.Region.ClientStack
|
||||
{
|
||||
ObjectAddPacket addPacket = (ObjectAddPacket) Pack;
|
||||
PrimitiveBaseShape shape = GetShapeFromAddPacket(addPacket);
|
||||
OnAddPrim(AgentId, addPacket.ObjectData.RayEnd, shape);
|
||||
OnAddPrim(AgentId, addPacket.ObjectData.RayEnd, addPacket.ObjectData.Rotation, shape);
|
||||
}
|
||||
break;
|
||||
case PacketType.ObjectShape:
|
||||
|
||||
Reference in New Issue
Block a user