diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 310e21a..1fc9790 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2394,7 +2394,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2394 | 2394 | ||
2395 | Vector3 up = new Vector3((float)x, (float)y, (float)z); | 2395 | Vector3 up = new Vector3((float)x, (float)y, (float)z); |
2396 | Vector3 sitOffset = up * Appearance.AvatarHeight * 0.02638f; | 2396 | Vector3 sitOffset = up * Appearance.AvatarHeight * 0.02638f; |
2397 | |||
2397 | m_pos = sitTargetPos + sitOffset + SIT_TARGET_ADJUSTMENT; | 2398 | m_pos = sitTargetPos + sitOffset + SIT_TARGET_ADJUSTMENT; |
2399 | |||
2400 | // m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT - sitOffset; | ||
2398 | Rotation = sitTargetOrient; | 2401 | Rotation = sitTargetOrient; |
2399 | ParentPosition = part.AbsolutePosition; | 2402 | ParentPosition = part.AbsolutePosition; |
2400 | part.ParentGroup.AddAvatar(UUID); | 2403 | part.ParentGroup.AddAvatar(UUID); |