From e78a0ac8868c3654435a32d6886d08165ab102bd Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 18 Jul 2007 13:55:14 +0000 Subject: Just trying things out, nothing to see here, please go back to sleep. --- OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup.cs | 2 +- OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup.cs index b04340a..93fbe74 100644 --- a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup.cs @@ -173,7 +173,7 @@ namespace OpenSim.Region.Environment.Scenes { switch (direction) { - case UpdateType.InComingNewPosition: + case UpdateType.GroupPositionEdit: this.m_pos = new LLVector3(pos.X, pos.Y, pos.Z); pos.X = 0; pos.Y = 0; diff --git a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart.cs index 21659c4..b91e04a 100644 --- a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart.cs @@ -12,7 +12,7 @@ namespace OpenSim.Region.Environment.Scenes public enum UpdateType { OutGoingOffset, - InComingNewPosition, + GroupPositionEdit, SinglePositionEdit, ResizeOffset, SingleRotationEdit @@ -139,7 +139,7 @@ namespace OpenSim.Region.Environment.Scenes this.m_localID = (uint)(localID); this.m_Shape = shape; - this.UpdateHandler(ref position, UpdateType.InComingNewPosition, this); + this.UpdateHandler(ref position, UpdateType.GroupPositionEdit, this); this.OffsetPosition = position; } #endregion @@ -191,7 +191,7 @@ namespace OpenSim.Region.Environment.Scenes public void UpdateGroupPosition(LLVector3 pos) { LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z); - this.UpdateHandler(ref newPos, UpdateType.InComingNewPosition, this); + this.UpdateHandler(ref newPos, UpdateType.GroupPositionEdit, this); this.OffsetPosition = newPos; } @@ -217,7 +217,7 @@ namespace OpenSim.Region.Environment.Scenes public void UpdateGroupMouseRotation(LLVector3 pos, LLQuaternion rot) { this.RotationOffset = new LLQuaternion(rot.X, rot.Y, rot.Z, rot.W); - this.UpdateHandler(ref pos, UpdateType.InComingNewPosition, this); + this.UpdateHandler(ref pos, UpdateType.GroupPositionEdit, this); this.OffsetPosition = pos; } -- cgit v1.1