From fc66d29ca67ba141e54627940046a7f1a35ffdea Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 22 Feb 2009 10:20:53 +0000 Subject: * Removing some C#3.0 that snuck in. --- OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Client/MXP/ClientStack/MXPClientView.cs') 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 pe.ObjectFragment.OwnerId = ownerID.Guid; pe.ObjectFragment.TypeId = Guid.Empty; - pe.ObjectFragment.Acceleration = new[] { acc.X, acc.Y, acc.Z }; + pe.ObjectFragment.Acceleration = new float[] { acc.X, acc.Y, acc.Z }; pe.ObjectFragment.AngularAcceleration = new float[4]; - pe.ObjectFragment.AngularVelocity = new[] { rvel.X, rvel.Y, rvel.Z, 0.0f }; + pe.ObjectFragment.AngularVelocity = new float[] { rvel.X, rvel.Y, rvel.Z, 0.0f }; pe.ObjectFragment.BoundingSphereRadius = primShape.Scale.Length()/2.0f; - pe.ObjectFragment.Location = new[] { pos.X, pos.Y, pos.Z }; + pe.ObjectFragment.Location = new float[] { pos.X, pos.Y, pos.Z }; pe.ObjectFragment.Mass = 1.0f; pe.ObjectFragment.ObjectId = objectID.Guid; - pe.ObjectFragment.Orientation = new[] {rotation.X, rotation.Y, rotation.Z, rotation.W}; + pe.ObjectFragment.Orientation = new float[] { rotation.X, rotation.Y, rotation.Z, rotation.W }; pe.ObjectFragment.ParentObjectId = Guid.Empty; - pe.ObjectFragment.Velocity = new[] { vel.X, vel.Y, vel.Z }; + pe.ObjectFragment.Velocity = new float[] { vel.X, vel.Y, vel.Z }; pe.ObjectFragment.StatePayloadDialect = ""; pe.ObjectFragment.StatePayloadLength = 0; -- cgit v1.1