diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs index 5d3a406..4f48217 100644 --- a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs +++ b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs | |||
@@ -225,7 +225,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
225 | #region Roation | 225 | #region Roation |
226 | public void UpdateGroupRotation(LLQuaternion rot) | 226 | public void UpdateGroupRotation(LLQuaternion rot) |
227 | { | 227 | { |
228 | this.m_rootPart.RotationOffset = new LLQuaternion(rot.X, rot.Y, rot.Z, rot.W); | 228 | this.m_rootPart.UpdateRotation(rot); |
229 | } | 229 | } |
230 | 230 | ||
231 | /// <summary> | 231 | /// <summary> |
@@ -233,9 +233,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
233 | /// </summary> | 233 | /// </summary> |
234 | /// <param name="pos"></param> | 234 | /// <param name="pos"></param> |
235 | /// <param name="rot"></param> | 235 | /// <param name="rot"></param> |
236 | public void UpdateGroupMouseRotation(LLVector3 pos, LLQuaternion rot) | 236 | public void UpdateGroupRotation(LLVector3 pos, LLQuaternion rot) |
237 | { | 237 | { |
238 | this.m_rootPart.RotationOffset = new LLQuaternion(rot.X, rot.Y, rot.Z, rot.W); | 238 | this.m_rootPart.UpdateRotation(rot); |
239 | this.m_pos = pos; | 239 | this.m_pos = pos; |
240 | } | 240 | } |
241 | 241 | ||