aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs50
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index a4ca33d..4610c99 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -2100,26 +2100,26 @@ namespace OpenSim.Region.Environment.Scenes
2100 /// <param name="pos"></param> 2100 /// <param name="pos"></param>
2101 public void UpdateOffSet(LLVector3 pos) 2101 public void UpdateOffSet(LLVector3 pos)
2102 { 2102 {
2103 if ((pos.X != OffsetPosition.X) || 2103 if ((pos.X != OffsetPosition.X) ||
2104 (pos.Y != OffsetPosition.Y) || 2104 (pos.Y != OffsetPosition.Y) ||
2105 (pos.Z != OffsetPosition.Z)) 2105 (pos.Z != OffsetPosition.Z))
2106 { 2106 {
2107 LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z); 2107 LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z);
2108 OffsetPosition = newPos; 2108 OffsetPosition = newPos;
2109 ScheduleTerseUpdate(); 2109 ScheduleTerseUpdate();
2110 } 2110 }
2111 } 2111 }
2112 2112
2113 public void UpdateGroupPosition(LLVector3 pos) 2113 public void UpdateGroupPosition(LLVector3 pos)
2114 { 2114 {
2115 if ((pos.X != GroupPosition.X) || 2115 if ((pos.X != GroupPosition.X) ||
2116 (pos.Y != GroupPosition.Y) || 2116 (pos.Y != GroupPosition.Y) ||
2117 (pos.Z != GroupPosition.Z)) 2117 (pos.Z != GroupPosition.Z))
2118 { 2118 {
2119 LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z); 2119 LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z);
2120 GroupPosition = newPos; 2120 GroupPosition = newPos;
2121 ScheduleTerseUpdate(); 2121 ScheduleTerseUpdate();
2122 } 2122 }
2123 } 2123 }
2124 2124
2125 #endregion 2125 #endregion
@@ -2128,15 +2128,15 @@ namespace OpenSim.Region.Environment.Scenes
2128 2128
2129 public void UpdateRotation(LLQuaternion rot) 2129 public void UpdateRotation(LLQuaternion rot)
2130 { 2130 {
2131 if ((rot.X != RotationOffset.X) || 2131 if ((rot.X != RotationOffset.X) ||
2132 (rot.Y != RotationOffset.Y) || 2132 (rot.Y != RotationOffset.Y) ||
2133 (rot.Z != RotationOffset.Z) || 2133 (rot.Z != RotationOffset.Z) ||
2134 (rot.W != RotationOffset.W)) 2134 (rot.W != RotationOffset.W))
2135 { 2135 {
2136 //StoreUndoState(); 2136 //StoreUndoState();
2137 RotationOffset = new LLQuaternion(rot.X, rot.Y, rot.Z, rot.W); 2137 RotationOffset = new LLQuaternion(rot.X, rot.Y, rot.Z, rot.W);
2138 ScheduleTerseUpdate(); 2138 ScheduleTerseUpdate();
2139 } 2139 }
2140 } 2140 }
2141 2141
2142 #endregion 2142 #endregion