diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 9311904..3252b6c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -2392,9 +2392,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
2392 | LLVector3 lPos; | 2392 | LLVector3 lPos; |
2393 | lPos = OffsetPosition; | 2393 | lPos = OffsetPosition; |
2394 | LLQuaternion mRot = RotationOffset; | 2394 | LLQuaternion mRot = RotationOffset; |
2395 | // TODO: I have no idea why we are making this check. This should be sorted out | ||
2395 | if ((ObjectFlags & (uint) LLObject.ObjectFlags.Physics) == 0) | 2396 | if ((ObjectFlags & (uint) LLObject.ObjectFlags.Physics) == 0) |
2396 | { | 2397 | { |
2397 | remoteClient.SendPrimTerseUpdate(m_regionHandle, (ushort)(m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue), LocalId, lPos, mRot, Shape.State, fromAssetID); | 2398 | remoteClient.SendPrimTerseUpdate(m_regionHandle, (ushort)(m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue), LocalId, lPos, mRot, Velocity, RotationalVelocity, Shape.State, fromAssetID); |
2398 | } | 2399 | } |
2399 | else | 2400 | else |
2400 | { | 2401 | { |
@@ -2409,13 +2410,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
2409 | LLQuaternion mRot = RotationOffset; | 2410 | LLQuaternion mRot = RotationOffset; |
2410 | if (m_IsAttachment) | 2411 | if (m_IsAttachment) |
2411 | { | 2412 | { |
2412 | remoteClient.SendPrimTerseUpdate(m_regionHandle, (ushort)(m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue), LocalId, lPos, mRot, (byte)((m_attachmentPoint % 16) * 16 + (m_attachmentPoint / 16)),fromAssetID); | 2413 | remoteClient.SendPrimTerseUpdate(m_regionHandle, (ushort)(m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue), LocalId, lPos, mRot, Velocity, RotationalVelocity, (byte)((m_attachmentPoint % 16) * 16 + (m_attachmentPoint / 16)),fromAssetID); |
2413 | } | 2414 | } |
2414 | else | 2415 | else |
2415 | { | 2416 | { |
2416 | if ((ObjectFlags & (uint)LLObject.ObjectFlags.Physics) == 0) | 2417 | if ((ObjectFlags & (uint)LLObject.ObjectFlags.Physics) == 0) |
2417 | { | 2418 | { |
2418 | remoteClient.SendPrimTerseUpdate(m_regionHandle, (ushort)(m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue), LocalId, lPos, mRot, Shape.State, fromAssetID); | 2419 | remoteClient.SendPrimTerseUpdate(m_regionHandle, (ushort)(m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue), LocalId, lPos, mRot, Velocity, RotationalVelocity, Shape.State, fromAssetID); |
2419 | } | 2420 | } |
2420 | else | 2421 | else |
2421 | { | 2422 | { |