mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
This commit is contained in:
@@ -1952,7 +1952,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
// m_pos += ParentPosition + new Vector3(0.0f, 0.0f, 2.0f * m_sitAvatarHeight);
|
||||
// ParentPosition = Vector3.Zero;
|
||||
m_pos += part.GetWorldPosition() + new Vector3(0.0f, 0.0f, 2.0f * m_sitAvatarHeight);
|
||||
m_pos = part.AbsolutePosition + (m_pos * part.GetWorldRotation()) + new Vector3(0.0f, 0.0f, 2.0f * m_sitAvatarHeight);
|
||||
if (part.SitTargetAvatar == UUID)
|
||||
m_bodyRot = part.GetWorldRotation() * part.SitTargetOrientation;
|
||||
|
||||
ParentID = 0;
|
||||
ParentPart = null;
|
||||
|
||||
Reference in New Issue
Block a user