diff options
author | Teravus Ovares | 2008-02-10 12:44:36 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-10 12:44:36 +0000 |
commit | 8d37e91454c6157b563d6dca3481ca8c1eb873de (patch) | |
tree | 318cf26865da073f407865f53ce59901ac7882a6 | |
parent | * A lot of ugly permissions updates. (diff) | |
download | opensim-SC_OLD-8d37e91454c6157b563d6dca3481ca8c1eb873de.zip opensim-SC_OLD-8d37e91454c6157b563d6dca3481ca8c1eb873de.tar.gz opensim-SC_OLD-8d37e91454c6157b563d6dca3481ca8c1eb873de.tar.bz2 opensim-SC_OLD-8d37e91454c6157b563d6dca3481ca8c1eb873de.tar.xz |
* 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 >.<
-rw-r--r-- | OpenSim/Region/Environment/PermissionManager.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
273 | if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) != 0) | 273 | if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) != 0) |
274 | objectmask |= (uint)LLObject.ObjectFlags.Phantom; | 274 | objectmask |= (uint)LLObject.ObjectFlags.Phantom; |
275 | 275 | ||
276 | if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.Touch) != 0) | ||
277 | objectmask |= (uint)LLObject.ObjectFlags.Touch; | ||
278 | |||
279 | if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.Scripted) != 0) | ||
280 | objectmask |= (uint)LLObject.ObjectFlags.Scripted; | ||
281 | |||
282 | if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.AllowInventoryDrop) != 0) | ||
283 | objectmask |= (uint)LLObject.ObjectFlags.AllowInventoryDrop; | ||
284 | |||
285 | |||
286 | if ((task.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) != 0) | ||
287 | objectmask |= (uint)LLObject.ObjectFlags.CastShadows; | ||
288 | |||
276 | return objectmask; | 289 | return objectmask; |
277 | } | 290 | } |
278 | 291 | ||