From 80899356814cd906a99de62915645794c40cd816 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 27 Nov 2008 22:37:04 +0000 Subject: And take away a now unnecessare swap elsewhere. We should not be swapping them anywhere but at the point of transmission --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs') 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) { #endregion Public Methods - private byte GetAttachPointEncoded() - { - return (byte)((AttachmentPoint % 16) * 16 + (AttachmentPoint / 16)); - } - public void SendTerseUpdateToClient(IClientAPI remoteClient) { if (ParentGroup == null || ParentGroup.IsDeleted) @@ -3409,7 +3404,7 @@ if (m_shape != null) { return; lPos = ParentGroup.RootPart.AttachedPos; - state = GetAttachPointEncoded(); + state = AttachmentPoint; } else { -- cgit v1.1