diff options
Diffstat (limited to 'OpenSim/Client')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 4a102e9..d70131e 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -559,16 +559,16 @@ namespace OpenSim.Client.MXP.ClientStack | |||
559 | pe.ObjectFragment.OwnerId = ownerID.Guid; | 559 | pe.ObjectFragment.OwnerId = ownerID.Guid; |
560 | pe.ObjectFragment.TypeId = Guid.Empty; | 560 | pe.ObjectFragment.TypeId = Guid.Empty; |
561 | 561 | ||
562 | pe.ObjectFragment.Acceleration = new[] { acc.X, acc.Y, acc.Z }; | 562 | pe.ObjectFragment.Acceleration = new float[] { acc.X, acc.Y, acc.Z }; |
563 | pe.ObjectFragment.AngularAcceleration = new float[4]; | 563 | pe.ObjectFragment.AngularAcceleration = new float[4]; |
564 | pe.ObjectFragment.AngularVelocity = new[] { rvel.X, rvel.Y, rvel.Z, 0.0f }; | 564 | pe.ObjectFragment.AngularVelocity = new float[] { rvel.X, rvel.Y, rvel.Z, 0.0f }; |
565 | pe.ObjectFragment.BoundingSphereRadius = primShape.Scale.Length()/2.0f; | 565 | pe.ObjectFragment.BoundingSphereRadius = primShape.Scale.Length()/2.0f; |
566 | pe.ObjectFragment.Location = new[] { pos.X, pos.Y, pos.Z }; | 566 | pe.ObjectFragment.Location = new float[] { pos.X, pos.Y, pos.Z }; |
567 | pe.ObjectFragment.Mass = 1.0f; | 567 | pe.ObjectFragment.Mass = 1.0f; |
568 | pe.ObjectFragment.ObjectId = objectID.Guid; | 568 | pe.ObjectFragment.ObjectId = objectID.Guid; |
569 | pe.ObjectFragment.Orientation = new[] {rotation.X, rotation.Y, rotation.Z, rotation.W}; | 569 | pe.ObjectFragment.Orientation = new float[] { rotation.X, rotation.Y, rotation.Z, rotation.W }; |
570 | pe.ObjectFragment.ParentObjectId = Guid.Empty; | 570 | pe.ObjectFragment.ParentObjectId = Guid.Empty; |
571 | pe.ObjectFragment.Velocity = new[] { vel.X, vel.Y, vel.Z }; | 571 | pe.ObjectFragment.Velocity = new float[] { vel.X, vel.Y, vel.Z }; |
572 | 572 | ||
573 | pe.ObjectFragment.StatePayloadDialect = ""; | 573 | pe.ObjectFragment.StatePayloadDialect = ""; |
574 | pe.ObjectFragment.StatePayloadLength = 0; | 574 | pe.ObjectFragment.StatePayloadLength = 0; |