* 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
parent
e13feaa375
commit
feba36aaf3
|
@ -790,13 +790,16 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
// Reset sit target.
|
// Reset sit target.
|
||||||
if (part.GetAvatarOnSitTarget() == UUID)
|
if (part.GetAvatarOnSitTarget() == UUID)
|
||||||
part.SetAvatarOnSitTarget(LLUUID.Zero);
|
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_pos += m_parentPosition + new LLVector3(0.0f, 0.0f, 2.0f*m_sitAvatarHeight);
|
||||||
m_parentPosition = new LLVector3();
|
m_parentPosition = new LLVector3();
|
||||||
|
|
||||||
if (m_physicsActor == null)
|
|
||||||
AddToPhysicalScene();
|
|
||||||
|
|
||||||
m_parentID = 0;
|
m_parentID = 0;
|
||||||
SendFullUpdateToAllClients();
|
SendFullUpdateToAllClients();
|
||||||
|
|
Loading…
Reference in New Issue