Thank you kindly, Grumly57 for a patch that solves:

When a sit position is modified by llSitTarget and the 
sim is restarted, the object sit position is lost until 
llSitTarget is applied again.
0.6.6-post-fixes
Charles Krinke 2009-06-28 18:19:11 +00:00
parent 706286b7fb
commit c7c4bc8cd5
1 changed files with 1 additions and 0 deletions

View File

@ -6049,6 +6049,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.SitTargetPosition = new Vector3((float)offset.x, (float)offset.y, (float)offset.z); m_host.SitTargetPosition = new Vector3((float)offset.x, (float)offset.y, (float)offset.z);
m_host.SitTargetOrientation = Rot2Quaternion(rot); m_host.SitTargetOrientation = Rot2Quaternion(rot);
m_host.ParentGroup.HasGroupChanged = true;
} }
public LSL_String llAvatarOnSitTarget() public LSL_String llAvatarOnSitTarget()