diff options
author | Charles Krinke | 2009-06-28 18:19:11 +0000 |
---|---|---|
committer | Charles Krinke | 2009-06-28 18:19:11 +0000 |
commit | c7c4bc8cd54945073831d66a5205d73501ef516a (patch) | |
tree | 3187c4bd4a65e7c812798383e897d0b645252e1a /OpenSim | |
parent | Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't an... (diff) | |
download | opensim-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.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 1 |
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() |