diff options
author | Justin Clarke Casey | 2008-11-07 22:57:32 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-07 22:57:32 +0000 |
commit | bf9384d5943e755df9bbfce793c0cd89252e4044 (patch) | |
tree | 4aa927cb3fe4f86ab93d4fdb91e5fdee83031c18 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | * Fix bug in r7162 where avatars could not move (diff) | |
download | opensim-SC_OLD-bf9384d5943e755df9bbfce793c0cd89252e4044.zip opensim-SC_OLD-bf9384d5943e755df9bbfce793c0cd89252e4044.tar.gz opensim-SC_OLD-bf9384d5943e755df9bbfce793c0cd89252e4044.tar.bz2 opensim-SC_OLD-bf9384d5943e755df9bbfce793c0cd89252e4044.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
4690 | 4690 | ||
4691 | if (handlerUpdatePrimFlags != null) | 4691 | if (handlerUpdatePrimFlags != null) |
4692 | { | 4692 | { |
4693 | handlerUpdatePrimFlags(flags.AgentData.ObjectLocalID, Pack, this); | 4693 | byte[] data = Pack.ToBytes(); |
4694 | int i = 46; | ||
4695 | bool UsePhysics = (data[i++] != 0) ? true : false; | ||
4696 | bool IsTemporary = (data[i++] != 0) ? true : false; | ||
4697 | bool IsPhantom = (data[i++] != 0) ? true : false; | ||
4698 | handlerUpdatePrimFlags(flags.AgentData.ObjectLocalID, UsePhysics, IsTemporary, IsPhantom, this); | ||
4694 | } | 4699 | } |
4695 | break; | 4700 | break; |
4696 | case PacketType.ObjectImage: | 4701 | case PacketType.ObjectImage: |