Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
commit
ef3166d4fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue