diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 5b494d3..86109ce 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -3390,11 +3390,6 @@ if (m_shape != null) { | |||
3390 | 3390 | ||
3391 | #endregion Public Methods | 3391 | #endregion Public Methods |
3392 | 3392 | ||
3393 | private byte GetAttachPointEncoded() | ||
3394 | { | ||
3395 | return (byte)((AttachmentPoint % 16) * 16 + (AttachmentPoint / 16)); | ||
3396 | } | ||
3397 | |||
3398 | public void SendTerseUpdateToClient(IClientAPI remoteClient) | 3393 | public void SendTerseUpdateToClient(IClientAPI remoteClient) |
3399 | { | 3394 | { |
3400 | if (ParentGroup == null || ParentGroup.IsDeleted) | 3395 | if (ParentGroup == null || ParentGroup.IsDeleted) |
@@ -3409,7 +3404,7 @@ if (m_shape != null) { | |||
3409 | return; | 3404 | return; |
3410 | 3405 | ||
3411 | lPos = ParentGroup.RootPart.AttachedPos; | 3406 | lPos = ParentGroup.RootPart.AttachedPos; |
3412 | state = GetAttachPointEncoded(); | 3407 | state = AttachmentPoint; |
3413 | } | 3408 | } |
3414 | else | 3409 | else |
3415 | { | 3410 | { |