diff options
author | UbitUmarov | 2016-09-16 22:10:36 +0100 |
---|---|---|
committer | UbitUmarov | 2016-09-16 22:10:36 +0100 |
commit | 2338d3d2e5cdb03a67cca7c143c7651ff0f6ee15 (patch) | |
tree | 2b2409057b5c690881f72241bee7e1144ba8dc7d /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | move SpinObject funtions from Scenegraph to PacketHandlers, close to grab han... (diff) | |
download | opensim-SC-2338d3d2e5cdb03a67cca7c143c7651ff0f6ee15.zip opensim-SC-2338d3d2e5cdb03a67cca7c143c7651ff0f6ee15.tar.gz opensim-SC-2338d3d2e5cdb03a67cca7c143c7651ff0f6ee15.tar.bz2 opensim-SC-2338d3d2e5cdb03a67cca7c143c7651ff0f6ee15.tar.xz |
change spinobject math, and a few minor things
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 | /// |