diff options
author | UbitUmarov | 2016-08-31 12:47:56 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-31 12:47:56 +0100 |
commit | 2cbacbfb82bc17356633310e7a185c7e072a6d00 (patch) | |
tree | b1ec47cb001a749eb360321a69b455d8b3bf1270 /OpenSim/Region/ScriptEngine | |
parent | Xengine: if option AppDomainLoading = true, create script domains for each SO... (diff) | |
download | opensim-SC_OLD-2cbacbfb82bc17356633310e7a185c7e072a6d00.zip opensim-SC_OLD-2cbacbfb82bc17356633310e7a185c7e072a6d00.tar.gz opensim-SC_OLD-2cbacbfb82bc17356633310e7a185c7e072a6d00.tar.bz2 opensim-SC_OLD-2cbacbfb82bc17356633310e7a185c7e072a6d00.tar.xz |
Xengine: put back a newline on scripts preamble, and the ugly filename prefix, for now
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
109 | m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op"; | 109 | m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op"; |
110 | 110 | ||
111 | // Get file prefix from scriptengine name and make it file system safe: | 111 | // Get file prefix from scriptengine name and make it file system safe: |
112 | FilePrefix = ""; | 112 | FilePrefix = "CommonCompiler"; |
113 | foreach (char c in Path.GetInvalidFileNameChars()) | 113 | foreach (char c in Path.GetInvalidFileNameChars()) |
114 | { | 114 | { |
115 | FilePrefix = FilePrefix.Replace(c, '_'); | 115 | FilePrefix = FilePrefix.Replace(c, '_'); |
@@ -441,8 +441,8 @@ namespace SecondLife | |||
441 | {{ | 441 | {{ |
442 | public class {0} : {1} | 442 | public class {0} : {1} |
443 | {{ | 443 | {{ |
444 | public {0}({2}) : base({3}) {{}}" | 444 | public {0}({2}) : base({3}) {{}} |
445 | , | 445 | ", |
446 | className, | 446 | className, |
447 | baseClassName, | 447 | baseClassName, |
448 | constructorParameters != null | 448 | constructorParameters != null |