From 5c8abed450939b24c4547063a828fe52f0bc685d Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 2 Feb 2008 03:17:38 +0000 Subject: Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :) --- OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index d3f2873..b919f22 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs @@ -99,8 +99,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL } LanguageMapping.Add("cs", enumCompileType.cs); - LanguageMapping.Add("vb", enumCompileType.lsl); - LanguageMapping.Add("lsl", enumCompileType.vb); + LanguageMapping.Add("vb", enumCompileType.vb); + LanguageMapping.Add("lsl", enumCompileType.lsl); // Allowed compilers string allowedCompilers = m_scriptEngine.ScriptConfigSource.GetString("AllowedCompilers", "lsl;cs;vb"); @@ -158,7 +158,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL foreach (string file in Directory.GetFiles(ScriptEnginesPath)) { - m_scriptEngine.Log.Error(m_scriptEngine.ScriptEngineName, "FILE FOUND: " + file); + //m_scriptEngine.Log.Error(m_scriptEngine.ScriptEngineName, "FILE FOUND: " + file); if (file.ToLower().StartsWith(FilePrefix + "_compiled_") || file.ToLower().StartsWith(FilePrefix + "_source_")) -- cgit v1.1