Xengine: put back a newline on scripts preamble, and the ugly filename prefix, for now

LSLKeyTest
UbitUmarov 2016-08-31 12:47:56 +01:00
parent 96ee7e4c2c
commit 2cbacbfb82
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op"; m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op";
// Get file prefix from scriptengine name and make it file system safe: // Get file prefix from scriptengine name and make it file system safe:
FilePrefix = ""; FilePrefix = "CommonCompiler";
foreach (char c in Path.GetInvalidFileNameChars()) foreach (char c in Path.GetInvalidFileNameChars())
{ {
FilePrefix = FilePrefix.Replace(c, '_'); FilePrefix = FilePrefix.Replace(c, '_');
@ -441,8 +441,8 @@ namespace SecondLife
{{ {{
public class {0} : {1} public class {0} : {1}
{{ {{
public {0}({2}) : base({3}) {{}}" public {0}({2}) : base({3}) {{}}
, ",
className, className,
baseClassName, baseClassName,
constructorParameters != null constructorParameters != null