mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* 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 >.<
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user