From a13d68d98c6a5d73134adc6a8d806c7933517eb8 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 28 Mar 2008 15:32:46 +0000 Subject: [PATCH] fixes mantis #778 and shoots himself for making such a mistake to begin with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows. --- .../Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index c6b15d5614..9cb1d1248b 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs @@ -1939,12 +1939,12 @@ namespace OpenSim.Region.ScriptEngine.Common public string osDrawRectangle(string drawList, int width, int height) { - return osDrawRectangle(drawList, width, height); + return m_LSL_Functions.osDrawRectangle(drawList, width, height); } public string osDrawFilledRectangle(string drawList, int width, int height) { - return osDrawFilledRectangle(drawList, width, height); + return m_LSL_Functions.osDrawFilledRectangle(drawList, width, height); } public string osSetFontSize(string drawList, int fontSize)