* Send prim flags as booleans from LLClientView rather than in the native LL array
* Thanks idb
This commit is contained in:
Justin Clarke Casey
2008-11-07 22:57:32 +00:00
parent 4ace67a81d
commit bf9384d594
5 changed files with 41 additions and 67 deletions

View File

@@ -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: