diff options
author | UbitUmarov | 2018-10-21 17:53:02 +0100 |
---|---|---|
committer | UbitUmarov | 2018-10-21 17:53:02 +0100 |
commit | fdb4fb3f3f474ec016dddca64797420eee639c04 (patch) | |
tree | 006999b552c239e0aee11c2bd5144d7dd065a67a /OpenSim | |
parent | oops some code got in ahead of time (diff) | |
download | opensim-SC-fdb4fb3f3f474ec016dddca64797420eee639c04.zip opensim-SC-fdb4fb3f3f474ec016dddca64797420eee639c04.tar.gz opensim-SC-fdb4fb3f3f474ec016dddca64797420eee639c04.tar.bz2 opensim-SC-fdb4fb3f3f474ec016dddca64797420eee639c04.tar.xz |
update script syntax
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs | 4 |
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 | } |