diff options
author | Adam Frisby | 2009-02-22 10:20:53 +0000 |
---|---|---|
committer | Adam Frisby | 2009-02-22 10:20:53 +0000 |
commit | fc66d29ca67ba141e54627940046a7f1a35ffdea (patch) | |
tree | 82e013de1ac03ad2c90fa29baca5e7a000f99db9 /OpenSim/Client | |
parent | * Restoring (diff) | |
download | opensim-SC_OLD-fc66d29ca67ba141e54627940046a7f1a35ffdea.zip opensim-SC_OLD-fc66d29ca67ba141e54627940046a7f1a35ffdea.tar.gz opensim-SC_OLD-fc66d29ca67ba141e54627940046a7f1a35ffdea.tar.bz2 opensim-SC_OLD-fc66d29ca67ba141e54627940046a7f1a35ffdea.tar.xz |
* Removing some C#3.0 that snuck in.
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; |