diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 62870d5..3f63481 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1207,6 +1207,25 @@ namespace OpenSim.Region.Framework.Scenes | |||
1207 | /// <param name="localID"></param> | 1207 | /// <param name="localID"></param> |
1208 | /// <param name="rot"></param> | 1208 | /// <param name="rot"></param> |
1209 | /// <param name="remoteClient"></param> | 1209 | /// <param name="remoteClient"></param> |
1210 | protected internal void UpdatePrimSingleRotationPosition(uint localID, Quaternion rot, Vector3 pos, IClientAPI remoteClient) | ||
1211 | { | ||
1212 | SceneObjectGroup group = GetGroupByPrim(localID); | ||
1213 | if (group != null) | ||
1214 | { | ||
1215 | if (m_parentScene.Permissions.CanMoveObject(group.UUID, remoteClient.AgentId)) | ||
1216 | { | ||
1217 | group.UpdateSingleRotation(rot,pos, localID); | ||
1218 | } | ||
1219 | } | ||
1220 | } | ||
1221 | |||
1222 | |||
1223 | /// <summary> | ||
1224 | /// | ||
1225 | /// </summary> | ||
1226 | /// <param name="localID"></param> | ||
1227 | /// <param name="rot"></param> | ||
1228 | /// <param name="remoteClient"></param> | ||
1210 | protected internal void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient) | 1229 | protected internal void UpdatePrimRotation(uint localID, Quaternion rot, IClientAPI remoteClient) |
1211 | { | 1230 | { |
1212 | SceneObjectGroup group = GetGroupByPrim(localID); | 1231 | SceneObjectGroup group = GetGroupByPrim(localID); |