And take away a now unnecessare swap elsewhere. We should not be swapping
them anywhere but at the point of transmission0.6.1-post-fixes
parent
d20a3c6e5a
commit
8089935681
|
@ -3390,11 +3390,6 @@ if (m_shape != null) {
|
||||||
|
|
||||||
#endregion Public Methods
|
#endregion Public Methods
|
||||||
|
|
||||||
private byte GetAttachPointEncoded()
|
|
||||||
{
|
|
||||||
return (byte)((AttachmentPoint % 16) * 16 + (AttachmentPoint / 16));
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SendTerseUpdateToClient(IClientAPI remoteClient)
|
public void SendTerseUpdateToClient(IClientAPI remoteClient)
|
||||||
{
|
{
|
||||||
if (ParentGroup == null || ParentGroup.IsDeleted)
|
if (ParentGroup == null || ParentGroup.IsDeleted)
|
||||||
|
@ -3409,7 +3404,7 @@ if (m_shape != null) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
lPos = ParentGroup.RootPart.AttachedPos;
|
lPos = ParentGroup.RootPart.AttachedPos;
|
||||||
state = GetAttachPointEncoded();
|
state = AttachmentPoint;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue