From d20a3c6e5a8828bb7fba4d7b8cddefdd4ad86cc4 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 27 Nov 2008 22:30:54 +0000 Subject: Cause attachment nibbles to be swapped in terse object updates, too. This error may have been the root cause of the head attachment bug. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 7dac5de..94040ca 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -3168,7 +3168,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP bytes[i++] = (byte)((ID >> 8) % 256); bytes[i++] = (byte)((ID >> 16) % 256); bytes[i++] = (byte)((ID >> 24) % 256); - bytes[i++] = state; + bytes[i++] = (byte)(((state & 0xf0) >> 4) | ((state & 0x0f) << 4)); bytes[i++] = 0; byte[] pb = position.GetBytes(); -- cgit v1.1