* Adding more broken objectflags to the list here. Touch was also broken. It might be smarter to just rebuild the whole objectflags before sending it to the client >.<

ThreadPoolClientBranch
Teravus Ovares 2008-02-10 12:44:36 +00:00
parent 85a9834ed8
commit 8d37e91454
1 changed files with 13 additions and 0 deletions

View File

@ -273,6 +273,19 @@ namespace OpenSim.Region.Environment
if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) != 0)
objectmask |= (uint)LLObject.ObjectFlags.Phantom;
if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.Touch) != 0)
objectmask |= (uint)LLObject.ObjectFlags.Touch;
if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.Scripted) != 0)
objectmask |= (uint)LLObject.ObjectFlags.Scripted;
if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.AllowInventoryDrop) != 0)
objectmask |= (uint)LLObject.ObjectFlags.AllowInventoryDrop;
if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) != 0)
objectmask |= (uint)LLObject.ObjectFlags.CastShadows;
return objectmask;
}