aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-27 22:37:04 +0000
committerMelanie Thielker2008-11-27 22:37:04 +0000
commit80899356814cd906a99de62915645794c40cd816 (patch)
treed6e699345e0314e26cffce93ed413d24178cbcb6 /OpenSim/Region
parentCause attachment nibbles to be swapped in terse object updates, too. (diff)
downloadopensim-SC_OLD-80899356814cd906a99de62915645794c40cd816.zip
opensim-SC_OLD-80899356814cd906a99de62915645794c40cd816.tar.gz
opensim-SC_OLD-80899356814cd906a99de62915645794c40cd816.tar.bz2
opensim-SC_OLD-80899356814cd906a99de62915645794c40cd816.tar.xz
And take away a now unnecessare swap elsewhere. We should not be swapping
them anywhere but at the point of transmission
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs7
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 {