aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs33
1 files changed, 14 insertions, 19 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 5381f63..8b71f5b 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -344,15 +344,15 @@ namespace OpenSim.Region.Framework.Scenes
344 get { return m_parts.Count; } 344 get { return m_parts.Count; }
345 } 345 }
346 346
347 protected Quaternion m_rotation = Quaternion.Identity; 347// protected Quaternion m_rotation = Quaternion.Identity;
348 348//
349 public virtual Quaternion Rotation 349// public virtual Quaternion Rotation
350 { 350// {
351 get { return m_rotation; } 351// get { return m_rotation; }
352 set { 352// set {
353 m_rotation = value; 353// m_rotation = value;
354 } 354// }
355 } 355// }
356 356
357 public Quaternion GroupRotation 357 public Quaternion GroupRotation
358 { 358 {
@@ -3216,17 +3216,12 @@ namespace OpenSim.Region.Framework.Scenes
3216 } 3216 }
3217 } 3217 }
3218 3218
3219 public void OffsetForNewRegion(Vector3 offset)
3220 {
3221 m_rootPart.GroupPosition = offset;
3222 }
3223
3224 #endregion 3219 #endregion
3225 3220
3226 #region Rotation 3221 #region Rotation
3227 3222
3228 /// <summary> 3223 /// <summary>
3229 /// 3224 /// Update the rotation of the group.
3230 /// </summary> 3225 /// </summary>
3231 /// <param name="rot"></param> 3226 /// <param name="rot"></param>
3232 public void UpdateGroupRotationR(Quaternion rot) 3227 public void UpdateGroupRotationR(Quaternion rot)
@@ -3254,7 +3249,7 @@ namespace OpenSim.Region.Framework.Scenes
3254 } 3249 }
3255 3250
3256 /// <summary> 3251 /// <summary>
3257 /// 3252 /// Update the position and rotation of a group simultaneously.
3258 /// </summary> 3253 /// </summary>
3259 /// <param name="pos"></param> 3254 /// <param name="pos"></param>
3260 /// <param name="rot"></param> 3255 /// <param name="rot"></param>
@@ -3288,7 +3283,7 @@ namespace OpenSim.Region.Framework.Scenes
3288 } 3283 }
3289 3284
3290 /// <summary> 3285 /// <summary>
3291 /// 3286 /// Update the rotation of a single prim within the group.
3292 /// </summary> 3287 /// </summary>
3293 /// <param name="rot"></param> 3288 /// <param name="rot"></param>
3294 /// <param name="localID"></param> 3289 /// <param name="localID"></param>
@@ -3314,7 +3309,7 @@ namespace OpenSim.Region.Framework.Scenes
3314 } 3309 }
3315 3310
3316 /// <summary> 3311 /// <summary>
3317 /// 3312 /// Update the position and rotation simultaneously of a single prim within the group.
3318 /// </summary> 3313 /// </summary>
3319 /// <param name="rot"></param> 3314 /// <param name="rot"></param>
3320 /// <param name="localID"></param> 3315 /// <param name="localID"></param>
@@ -3355,7 +3350,7 @@ namespace OpenSim.Region.Framework.Scenes
3355 } 3350 }
3356 3351
3357 /// <summary> 3352 /// <summary>
3358 /// 3353 /// Update the entire rotation of the group.
3359 /// </summary> 3354 /// </summary>
3360 /// <param name="rot"></param> 3355 /// <param name="rot"></param>
3361 public void UpdateRootRotation(Quaternion rot) 3356 public void UpdateRootRotation(Quaternion rot)