From 2cbacbfb82bc17356633310e7a185c7e072a6d00 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 31 Aug 2016 12:47:56 +0100 Subject: Xengine: put back a newline on scripts preamble, and the ugly filename prefix, for now --- OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index b51880d..67762a3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs @@ -109,7 +109,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op"; // Get file prefix from scriptengine name and make it file system safe: - FilePrefix = ""; + FilePrefix = "CommonCompiler"; foreach (char c in Path.GetInvalidFileNameChars()) { FilePrefix = FilePrefix.Replace(c, '_'); @@ -441,8 +441,8 @@ namespace SecondLife {{ public class {0} : {1} {{ - public {0}({2}) : base({3}) {{}}" -, + public {0}({2}) : base({3}) {{}} +", className, baseClassName, constructorParameters != null -- cgit v1.1