diff options
Diffstat (limited to 'OpenSim/Region')
-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 | ||