diff options
author | UbitUmarov | 2017-01-19 12:35:00 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-19 12:35:00 +0000 |
commit | 673bd3721948b376d6be14e346d616863ca943cf (patch) | |
tree | c6ddbb14830cffd04122d5c90cdc929a88c8e8ab /OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | |
parent | object Take and TakeCopy are for in scene SOPs and SPs and permitions module ... (diff) | |
download | opensim-SC-673bd3721948b376d6be14e346d616863ca943cf.zip opensim-SC-673bd3721948b376d6be14e346d616863ca943cf.tar.gz opensim-SC-673bd3721948b376d6be14e346d616863ca943cf.tar.bz2 opensim-SC-673bd3721948b376d6be14e346d616863ca943cf.tar.xz |
object CanMove is for in scene SOGs Icleints and SPs and permitions module is NOT a shared module
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs index f2d853d..940f80c 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | |||
@@ -325,7 +325,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
325 | if(group == null || group.IsDeleted) | 325 | if(group == null || group.IsDeleted) |
326 | return; | 326 | return; |
327 | 327 | ||
328 | if (Permissions.CanMoveObject(group.UUID, remoteClient.AgentId))// && PermissionsMngr.) | 328 | if (Permissions.CanMoveObject(group, remoteClient))// && PermissionsMngr.) |
329 | { | 329 | { |
330 | group.GrabMovement(objectID, offset, pos, remoteClient); | 330 | group.GrabMovement(objectID, offset, pos, remoteClient); |
331 | } | 331 | } |
@@ -386,7 +386,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
386 | SceneObjectGroup group = GetGroupByPrim(objectID); | 386 | SceneObjectGroup group = GetGroupByPrim(objectID); |
387 | if (group != null) | 387 | if (group != null) |
388 | { | 388 | { |
389 | if (Permissions.CanMoveObject(group.UUID, remoteClient.AgentId))// && PermissionsMngr.) | 389 | if (Permissions.CanMoveObject(group, remoteClient))// && PermissionsMngr.) |
390 | { | 390 | { |
391 | group.SpinStart(remoteClient); | 391 | group.SpinStart(remoteClient); |
392 | } | 392 | } |
@@ -404,7 +404,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
404 | SceneObjectGroup group = GetGroupByPrim(objectID); | 404 | SceneObjectGroup group = GetGroupByPrim(objectID); |
405 | if (group != null) | 405 | if (group != null) |
406 | { | 406 | { |
407 | if (Permissions.CanMoveObject(group.UUID, remoteClient.AgentId))// && PermissionsMngr.) | 407 | if (Permissions.CanMoveObject(group, remoteClient))// && PermissionsMngr.) |
408 | { | 408 | { |
409 | group.SpinMovement(rotation, remoteClient); | 409 | group.SpinMovement(rotation, remoteClient); |
410 | } | 410 | } |