aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs40
1 files changed, 36 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index bf45006..8506912 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -4367,6 +4367,42 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4367 } 4367 }
4368 } 4368 }
4369 break; 4369 break;
4370 case PacketType.ObjectPosition:
4371 // DEPRECATED: but till libsecondlife removes it, people will use it
4372 ObjectPositionPacket position = (ObjectPositionPacket)Pack;
4373
4374 for (int i=0; i<position.ObjectData.Length; i++)
4375 {
4376 handlerUpdateVector = OnUpdatePrimGroupPosition;
4377 if (handlerUpdateVector != null)
4378 handlerUpdateVector(position.ObjectData[i].ObjectLocalID, position.ObjectData[i].Position, this);
4379 }
4380
4381 break;
4382 case PacketType.ObjectScale:
4383 // DEPRECATED: but till libsecondlife removes it, people will use it
4384 ObjectScalePacket scale = (ObjectScalePacket)Pack;
4385
4386 for (int i=0; i<scale.ObjectData.Length; i++)
4387 {
4388 handlerUpdatePrimGroupScale = OnUpdatePrimGroupScale;
4389 if (handlerUpdatePrimGroupScale != null)
4390 handlerUpdatePrimGroupScale(scale.ObjectData[i].ObjectLocalID, scale.ObjectData[i].Scale, this);
4391 }
4392
4393 break;
4394 case PacketType.ObjectRotation:
4395 // DEPRECATED: but till libsecondlife removes it, people will use it
4396 ObjectRotationPacket rotation = (ObjectRotationPacket)Pack;
4397
4398 for (int i=0; i<rotation.ObjectData.Length; i++)
4399 {
4400 handlerUpdatePrimRotation = OnUpdatePrimGroupRotation;
4401 if (handlerUpdatePrimRotation != null)
4402 handlerUpdatePrimRotation(rotation.ObjectData[i].ObjectLocalID, rotation.ObjectData[i].Rotation, this);
4403 }
4404
4405 break;
4370 case PacketType.ObjectFlagUpdate: 4406 case PacketType.ObjectFlagUpdate:
4371 ObjectFlagUpdatePacket flags = (ObjectFlagUpdatePacket)Pack; 4407 ObjectFlagUpdatePacket flags = (ObjectFlagUpdatePacket)Pack;
4372 4408
@@ -5524,10 +5560,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5524 // TODO: Perhaps this should be processed on the Sim to determine whether or not to drop a dead client 5560 // TODO: Perhaps this should be processed on the Sim to determine whether or not to drop a dead client
5525 //m_log.Warn("[CLIENT]: unhandled CompletePingCheck packet"); 5561 //m_log.Warn("[CLIENT]: unhandled CompletePingCheck packet");
5526 break; 5562 break;
5527 case PacketType.ObjectScale:
5528 // TODO: handle this packet
5529 m_log.Warn("[CLIENT]: unhandled ObjectScale packet");
5530 break;
5531 case PacketType.ViewerStats: 5563 case PacketType.ViewerStats:
5532 // TODO: handle this packet 5564 // TODO: handle this packet
5533 m_log.Warn("[CLIENT]: unhandled ViewerStats packet"); 5565 m_log.Warn("[CLIENT]: unhandled ViewerStats packet");