From bf9384d5943e755df9bbfce793c0cd89252e4044 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 7 Nov 2008 22:57:32 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=2582 * Send prim flags as booleans from LLClientView rather than in the native LL array * Thanks idb --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 1a0fb29..d0f057e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -4690,7 +4690,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (handlerUpdatePrimFlags != null) { - handlerUpdatePrimFlags(flags.AgentData.ObjectLocalID, Pack, this); + byte[] data = Pack.ToBytes(); + int i = 46; + bool UsePhysics = (data[i++] != 0) ? true : false; + bool IsTemporary = (data[i++] != 0) ? true : false; + bool IsPhantom = (data[i++] != 0) ? true : false; + handlerUpdatePrimFlags(flags.AgentData.ObjectLocalID, UsePhysics, IsTemporary, IsPhantom, this); } break; case PacketType.ObjectImage: -- cgit v1.1