diff options
author | Melanie | 2010-01-11 02:04:58 +0000 |
---|---|---|
committer | Melanie | 2010-01-11 02:04:58 +0000 |
commit | 649d45a2d484f92765699920faf528891aba22a9 (patch) | |
tree | a464685ab19c0c6a358e37e87787b1c7ab1bee08 /OpenSim/Region/ScriptEngine/Shared | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Whitespace cleanup (diff) | |
download | opensim-SC-649d45a2d484f92765699920faf528891aba22a9.zip opensim-SC-649d45a2d484f92765699920faf528891aba22a9.tar.gz opensim-SC-649d45a2d484f92765699920faf528891aba22a9.tar.bz2 opensim-SC-649d45a2d484f92765699920faf528891aba22a9.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/Executor.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 92e33b8..42c52dd 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2214,13 +2214,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2214 | 2214 | ||
2215 | public LSL_Integer llRotTarget(LSL_Rotation rot, double error) | 2215 | public LSL_Integer llRotTarget(LSL_Rotation rot, double error) |
2216 | { | 2216 | { |
2217 | m_host.AddScriptLPS(1); | 2217 | m_host.AddScriptLPS(1); |
2218 | return m_host.registerRotTargetWaypoint(new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s), (float)error); | 2218 | return m_host.registerRotTargetWaypoint(new Quaternion((float)rot.x, (float)rot.y, (float)rot.z, (float)rot.s), (float)error); |
2219 | } | 2219 | } |
2220 | 2220 | ||
2221 | public void llRotTargetRemove(int number) | 2221 | public void llRotTargetRemove(int number) |
2222 | { | 2222 | { |
2223 | m_host.AddScriptLPS(1); | 2223 | m_host.AddScriptLPS(1); |
2224 | m_host.unregisterRotTargetWaypoint(number); | 2224 | m_host.unregisterRotTargetWaypoint(number); |
2225 | } | 2225 | } |
2226 | 2226 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/Executor.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/Executor.cs index 3456a3c..943d7a2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/Executor.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/Executor.cs | |||
@@ -62,7 +62,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
62 | land_collision = 2048, | 62 | land_collision = 2048, |
63 | land_collision_end = 4096, | 63 | land_collision_end = 4096, |
64 | land_collision_start = 8192, | 64 | land_collision_start = 8192, |
65 | at_target = 16384, | 65 | at_target = 16384, |
66 | at_rot_target = 16777216, | 66 | at_rot_target = 16777216, |
67 | listen = 32768, | 67 | listen = 32768, |
68 | money = 65536, | 68 | money = 65536, |
@@ -205,7 +205,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
205 | return; | 205 | return; |
206 | } | 206 | } |
207 | 207 | ||
208 | m_eventFlagsMap.Add("attach", scriptEvents.attach); | 208 | m_eventFlagsMap.Add("attach", scriptEvents.attach); |
209 | m_eventFlagsMap.Add("at_rot_target", scriptEvents.at_rot_target); | 209 | m_eventFlagsMap.Add("at_rot_target", scriptEvents.at_rot_target); |
210 | m_eventFlagsMap.Add("at_target", scriptEvents.at_target); | 210 | m_eventFlagsMap.Add("at_target", scriptEvents.at_target); |
211 | // m_eventFlagsMap.Add("changed",(long)scriptEvents.changed); | 211 | // m_eventFlagsMap.Add("changed",(long)scriptEvents.changed); |