From 331f26548bc414511b6c450107556e6e3484178a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 15 Apr 2008 16:49:06 +0000 Subject: Fixed LSL State support. * Re-applied Tedd's patch that got overwritten. * Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s]) * Added a state(string) method to BuiltIn_Commands_BaseClass --- OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs') diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 3f6f5cc..cb4ca39 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs @@ -106,7 +106,11 @@ namespace OpenSim.Region.ScriptEngine.Common get { return m_LSL_Functions.State; } set { m_LSL_Functions.State = value; } } - + public void state(string state) + { + State = state; + + } public void Start(BuilIn_Commands LSL_Functions) -- cgit v1.1