diff options
author | Jeff Ames | 2007-12-05 04:16:20 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-05 04:16:20 +0000 |
commit | a24b6fe924ef144a219e3ec17827477eabb8dbb4 (patch) | |
tree | 39e9431aa546b152e5e0143f4de0c1e4375d86ba /OpenSim/Region/Environment/Scenes | |
parent | *disabled some confusing code regarding permissions (diff) | |
download | opensim-SC-a24b6fe924ef144a219e3ec17827477eabb8dbb4.zip opensim-SC-a24b6fe924ef144a219e3ec17827477eabb8dbb4.tar.gz opensim-SC-a24b6fe924ef144a219e3ec17827477eabb8dbb4.tar.bz2 opensim-SC-a24b6fe924ef144a219e3ec17827477eabb8dbb4.tar.xz |
fixed a few compiler warnings under mono (committed from a train, with adjohn and afrisby, enroute to a wine cave with the worst wine in the world)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index c117d4d..19405fc 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1289,20 +1289,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
1289 | clientFlags = EveryoneMask; | 1289 | clientFlags = EveryoneMask; |
1290 | if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID)) | 1290 | if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID)) |
1291 | { | 1291 | { |
1292 | clientFlags = (clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy); | 1292 | clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy; |
1293 | } | 1293 | } |
1294 | 1294 | ||
1295 | if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanMovePermission(remoteClient.AgentId, this.ParentGroup.UUID)) | 1295 | if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanMovePermission(remoteClient.AgentId, this.ParentGroup.UUID)) |
1296 | { | 1296 | { |
1297 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove; | 1297 | clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove; |
1298 | } | 1298 | } |
1299 | 1299 | ||
1300 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify; | 1300 | clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify; |
1301 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop; | 1301 | clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop; |
1302 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer; | 1302 | clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer; |
1303 | |||
1304 | |||
1305 | |||
1306 | } | 1303 | } |
1307 | } | 1304 | } |
1308 | 1305 | ||