diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index a810de2..059d4c2 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2383,7 +2383,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2383 | 2383 | ||
2384 | Vector3 up = new Vector3((float)x, (float)y, (float)z); | 2384 | Vector3 up = new Vector3((float)x, (float)y, (float)z); |
2385 | Vector3 sitOffset = up * Appearance.AvatarHeight * 0.02638f; | 2385 | Vector3 sitOffset = up * Appearance.AvatarHeight * 0.02638f; |
2386 | m_pos = sitTargetPos + sitOffset + SIT_TARGET_ADJUSTMENT; | 2386 | // m_pos = sitTargetPos + sitOffset + SIT_TARGET_ADJUSTMENT; |
2387 | m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT - sitOffset; | ||
2387 | Rotation = sitTargetOrient; | 2388 | Rotation = sitTargetOrient; |
2388 | ParentPosition = part.AbsolutePosition; | 2389 | ParentPosition = part.AbsolutePosition; |
2389 | part.ParentGroup.AddAvatar(UUID); | 2390 | part.ParentGroup.AddAvatar(UUID); |