From c7c4bc8cd54945073831d66a5205d73501ef516a Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 28 Jun 2009 18:19:11 +0000 Subject: 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. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 45b9f28..7be7e23 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -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.SitTargetOrientation = Rot2Quaternion(rot); + m_host.ParentGroup.HasGroupChanged = true; } public LSL_String llAvatarOnSitTarget() -- cgit v1.1