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