* Fixed standing up so that you're at the new position of the prim if you move the prim and then stand up!

* Enter llSetPos elevators and conveyors n' stuff.!
ThreadPoolClientBranch
Teravus Ovares 2008-01-16 22:53:49 +00:00
parent e13feaa375
commit feba36aaf3
1 changed files with 6 additions and 3 deletions

View File

@ -790,13 +790,16 @@ namespace OpenSim.Region.Environment.Scenes
// Reset sit target.
if (part.GetAvatarOnSitTarget() == UUID)
part.SetAvatarOnSitTarget(LLUUID.Zero);
m_parentPosition = part.GetWorldPosition();
}
if (m_physicsActor == null)
AddToPhysicalScene();
m_pos += m_parentPosition + new LLVector3(0.0f, 0.0f, 2.0f*m_sitAvatarHeight);
m_parentPosition = new LLVector3();
if (m_physicsActor == null)
AddToPhysicalScene();
m_parentID = 0;
SendFullUpdateToAllClients();