aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
index e14e728..e9cda49 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
@@ -87,7 +87,7 @@ namespace OpenSim.Region.ClientStack.Linden
87 public void Initialise(IConfigSource source) 87 public void Initialise(IConfigSource source)
88 { 88 {
89 IConfig config = source.Configs["SimulatorFeatures"]; 89 IConfig config = source.Configs["SimulatorFeatures"];
90 m_doScriptSyntax = false; 90 m_doScriptSyntax = true;
91 if (config != null) 91 if (config != null)
92 { 92 {
93 // 93 //
@@ -344,7 +344,6 @@ namespace OpenSim.Region.ClientStack.Linden
344 using (StreamReader sr = File.OpenText("ScriptSyntax.xml")) 344 using (StreamReader sr = File.OpenText("ScriptSyntax.xml"))
345 { 345 {
346 StringBuilder sb = new StringBuilder(400*1024); 346 StringBuilder sb = new StringBuilder(400*1024);
347 sb.Append("<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer>");
348 347
349 string s=""; 348 string s="";
350 char[] trimc = new char[] {' ','\t', '\n', '\r'}; 349 char[] trimc = new char[] {' ','\t', '\n', '\r'};
@@ -355,7 +354,6 @@ namespace OpenSim.Region.ClientStack.Linden
355 continue; 354 continue;
356 sb.Append(s); 355 sb.Append(s);
357 } 356 }
358 sb.Append("</map></llsd>");
359 m_scriptSyntaxXML = sb.ToString(); 357 m_scriptSyntaxXML = sb.ToString();
360 m_scriptSyntaxID = Util.ComputeSHA1UUID(m_scriptSyntaxXML); 358 m_scriptSyntaxID = Util.ComputeSHA1UUID(m_scriptSyntaxXML);
361 } 359 }