aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCharles Krinke2009-06-28 18:19:11 +0000
committerCharles Krinke2009-06-28 18:19:11 +0000
commitc7c4bc8cd54945073831d66a5205d73501ef516a (patch)
tree3187c4bd4a65e7c812798383e897d0b645252e1a
parentRemoved the List<NewForce> m_forceList from ScenePresence, as there wasn't an... (diff)
downloadopensim-SC-c7c4bc8cd54945073831d66a5205d73501ef516a.zip
opensim-SC-c7c4bc8cd54945073831d66a5205d73501ef516a.tar.gz
opensim-SC-c7c4bc8cd54945073831d66a5205d73501ef516a.tar.bz2
opensim-SC-c7c4bc8cd54945073831d66a5205d73501ef516a.tar.xz
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.
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs1
1 files changed, 1 insertions, 0 deletions
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
6049 6049
6050 m_host.SitTargetPosition = new Vector3((float)offset.x, (float)offset.y, (float)offset.z); 6050 m_host.SitTargetPosition = new Vector3((float)offset.x, (float)offset.y, (float)offset.z);
6051 m_host.SitTargetOrientation = Rot2Quaternion(rot); 6051 m_host.SitTargetOrientation = Rot2Quaternion(rot);
6052 m_host.ParentGroup.HasGroupChanged = true;
6052 } 6053 }
6053 6054
6054 public LSL_String llAvatarOnSitTarget() 6055 public LSL_String llAvatarOnSitTarget()