From 8d37e91454c6157b563d6dca3481ca8c1eb873de Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 10 Feb 2008 12:44:36 +0000 Subject: * 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 >.< --- OpenSim/Region/Environment/PermissionManager.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs index 5cd2b81..bb0a756 100644 --- a/OpenSim/Region/Environment/PermissionManager.cs +++ b/OpenSim/Region/Environment/PermissionManager.cs @@ -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; } -- cgit v1.1