diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 4947083..77c66b6 100755 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1674,32 +1674,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1674 | } | 1674 | } |
1675 | } | 1675 | } |
1676 | } | 1676 | } |
1677 | /* moved to scene ProcessObjectGrabUpdate | ||
1678 | /// <summary> | ||
1679 | /// Move the given object | ||
1680 | /// </summary> | ||
1681 | /// <param name="objectID"></param> | ||
1682 | /// <param name="offset"></param> | ||
1683 | /// <param name="pos"></param> | ||
1684 | /// <param name="remoteClient"></param> | ||
1685 | protected internal void MoveObject(UUID objectID, Vector3 offset, Vector3 pos, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs) | ||
1686 | { | ||
1687 | SceneObjectGroup group = GetGroupByPrim(objectID); | ||
1688 | if (group != null) | ||
1689 | { | ||
1690 | if (m_parentScene.Permissions.CanMoveObject(group.UUID, remoteClient.AgentId))// && PermissionsMngr.) | ||
1691 | { | ||
1692 | group.GrabMovement(objectID, offset, pos, remoteClient); | ||
1693 | } | ||
1694 | |||
1695 | // This is outside the above permissions condition | ||
1696 | // so that if the object is locked the client moving the object | ||
1697 | // get's it's position on the simulator even if it was the same as before | ||
1698 | // This keeps the moving user's client in sync with the rest of the world. | ||
1699 | group.SendGroupTerseUpdate(); | ||
1700 | } | ||
1701 | } | ||
1702 | */ | ||
1703 | 1677 | ||
1704 | /// <summary> | 1678 | /// <summary> |
1705 | /// | 1679 | /// |