diff options
author | Sean McNamara | 2011-04-26 11:45:38 -0400 |
---|---|---|
committer | Sean McNamara | 2011-04-26 11:45:38 -0400 |
commit | 587aa91e36216e75f9b293b57c5b974d31e5ec54 (patch) | |
tree | a1c2a4e78cb6414cdebb93c46552dce5bc8e7ea0 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Wait for OnOarFileSaved event callback before executing script (diff) | |
parent | Removed stale client components: MXP and VWoHTTP. (diff) | |
download | opensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.zip opensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.tar.gz opensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.tar.bz2 opensim-SC_OLD-587aa91e36216e75f9b293b57c5b974d31e5ec54.tar.xz |
Merge git://opensimulator.org/git/opensim
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 1f7e66d..0f7f666 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -4764,7 +4764,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4764 | data.RelativePosition.ToBytes(objectData, 0); | 4764 | data.RelativePosition.ToBytes(objectData, 0); |
4765 | data.Velocity.ToBytes(objectData, 12); | 4765 | data.Velocity.ToBytes(objectData, 12); |
4766 | data.Acceleration.ToBytes(objectData, 24); | 4766 | data.Acceleration.ToBytes(objectData, 24); |
4767 | data.RotationOffset.ToBytes(objectData, 36); | 4767 | try |
4768 | { | ||
4769 | data.RotationOffset.ToBytes(objectData, 36); | ||
4770 | } | ||
4771 | catch (Exception e) | ||
4772 | { | ||
4773 | m_log.Warn("[LLClientView]: exception converting quaternion to bytes, using Quaternion.Identity. Exception: " + e.ToString()); | ||
4774 | OpenMetaverse.Quaternion.Identity.ToBytes(objectData, 36); | ||
4775 | } | ||
4768 | data.AngularVelocity.ToBytes(objectData, 48); | 4776 | data.AngularVelocity.ToBytes(objectData, 48); |
4769 | 4777 | ||
4770 | ObjectUpdatePacket.ObjectDataBlock update = new ObjectUpdatePacket.ObjectDataBlock(); | 4778 | ObjectUpdatePacket.ObjectDataBlock update = new ObjectUpdatePacket.ObjectDataBlock(); |