diff options
author | Sean Dague | 2008-07-07 20:12:14 +0000 |
---|---|---|
committer | Sean Dague | 2008-07-07 20:12:14 +0000 |
commit | 867d72c9569e672d99dc5f50aca6b1a4f2ddf906 (patch) | |
tree | c7eed9e29967623643fa63ddec600acc2948ebb4 /OpenSim/Region/ScriptEngine | |
parent | remove build references to what I believe to be the very old MSSQL (diff) | |
download | opensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.zip opensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.tar.gz opensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.tar.bz2 opensim-SC_OLD-867d72c9569e672d99dc5f50aca6b1a4f2ddf906.tar.xz |
change SitTarget calls from functions to properties
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 1aa7ae3..e0b6e5d 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -4494,7 +4494,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4494 | if (rot.s == 0 && rot.x == 0 && rot.y == 0 && rot.z == 0) | 4494 | if (rot.s == 0 && rot.x == 0 && rot.y == 0 && rot.z == 0) |
4495 | rot.z = 1; // ZERO_ROTATION = 0,0,0,1 | 4495 | rot.z = 1; // ZERO_ROTATION = 0,0,0,1 |
4496 | 4496 | ||
4497 | m_host.SetSitTarget(new Vector3((float)offset.x, (float)offset.y, (float)offset.z), new Quaternion((float)rot.s, (float)rot.x, (float)rot.y, (float)rot.z)); | 4497 | m_host.SitTargetPosition = new Vector3((float)offset.x, (float)offset.y, (float)offset.z); |
4498 | m_host.SitTargetOrientation = new Quaternion((float)rot.s, (float)rot.x, (float)rot.y, (float)rot.z); | ||
4498 | } | 4499 | } |
4499 | 4500 | ||
4500 | public string llAvatarOnSitTarget() | 4501 | public string llAvatarOnSitTarget() |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 2525de0..b89965a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4369,7 +4369,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4369 | if (rot.s == 0 && rot.x == 0 && rot.y == 0 && rot.z == 0) | 4369 | if (rot.s == 0 && rot.x == 0 && rot.y == 0 && rot.z == 0) |
4370 | rot.z = 1; // ZERO_ROTATION = 0,0,0,1 | 4370 | rot.z = 1; // ZERO_ROTATION = 0,0,0,1 |
4371 | 4371 | ||
4372 | m_host.SetSitTarget(new Vector3((float)offset.x, (float)offset.y, (float)offset.z), new Quaternion((float)rot.s, (float)rot.x, (float)rot.y, (float)rot.z)); | 4372 | m_host.SitTargetPosition = new Vector3((float)offset.x, (float)offset.y, (float)offset.z); |
4373 | m_host.SitTargetOrientation = new Quaternion((float)rot.s, (float)rot.x, (float)rot.y, (float)rot.z); | ||
4373 | } | 4374 | } |
4374 | 4375 | ||
4375 | public string llAvatarOnSitTarget() | 4376 | public string llAvatarOnSitTarget() |