From 4b78aa50e65b7c4bb42fcff9bfd6866d71cfad98 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 26 Sep 2008 15:18:22 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=2274 * Reapply homer's click action implementation, which accidentally got blatted * Thanks tyre --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 93a168a..5a265d1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -1143,7 +1143,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llSetClickAction(int action) { m_host.AddScriptLPS(1); - NotImplemented("llSetClickAction"); + m_host.ClickAction = (byte)action; + if (m_host.ParentGroup != null) m_host.ParentGroup.HasGroupChanged = true; + m_host.ScheduleFullUpdate(); return; } -- cgit v1.1