Just trying things out, nothing to see here, please go back to sleep.

afrisby
MW 2007-07-18 13:55:14 +00:00
parent 04ece84d6b
commit e78a0ac886
2 changed files with 5 additions and 5 deletions

View File

@ -173,7 +173,7 @@ namespace OpenSim.Region.Environment.Scenes
{ {
switch (direction) switch (direction)
{ {
case UpdateType.InComingNewPosition: case UpdateType.GroupPositionEdit:
this.m_pos = new LLVector3(pos.X, pos.Y, pos.Z); this.m_pos = new LLVector3(pos.X, pos.Y, pos.Z);
pos.X = 0; pos.X = 0;
pos.Y = 0; pos.Y = 0;

View File

@ -12,7 +12,7 @@ namespace OpenSim.Region.Environment.Scenes
public enum UpdateType public enum UpdateType
{ {
OutGoingOffset, OutGoingOffset,
InComingNewPosition, GroupPositionEdit,
SinglePositionEdit, SinglePositionEdit,
ResizeOffset, ResizeOffset,
SingleRotationEdit SingleRotationEdit
@ -139,7 +139,7 @@ namespace OpenSim.Region.Environment.Scenes
this.m_localID = (uint)(localID); this.m_localID = (uint)(localID);
this.m_Shape = shape; this.m_Shape = shape;
this.UpdateHandler(ref position, UpdateType.InComingNewPosition, this); this.UpdateHandler(ref position, UpdateType.GroupPositionEdit, this);
this.OffsetPosition = position; this.OffsetPosition = position;
} }
#endregion #endregion
@ -191,7 +191,7 @@ namespace OpenSim.Region.Environment.Scenes
public void UpdateGroupPosition(LLVector3 pos) public void UpdateGroupPosition(LLVector3 pos)
{ {
LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z); 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; this.OffsetPosition = newPos;
} }
@ -217,7 +217,7 @@ namespace OpenSim.Region.Environment.Scenes
public void UpdateGroupMouseRotation(LLVector3 pos, LLQuaternion rot) public void UpdateGroupMouseRotation(LLVector3 pos, LLQuaternion rot)
{ {
this.RotationOffset = new LLQuaternion(rot.X, rot.Y, rot.Z, rot.W); 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; this.OffsetPosition = pos;
} }