update script syntax

0.9.1.0-post-fixes
UbitUmarov 2018-10-21 17:53:02 +01:00
parent 495b22470d
commit fdb4fb3f3f
2 changed files with 4294 additions and 46 deletions

View File

@ -87,7 +87,7 @@ namespace OpenSim.Region.ClientStack.Linden
public void Initialise(IConfigSource source)
{
IConfig config = source.Configs["SimulatorFeatures"];
m_doScriptSyntax = false;
m_doScriptSyntax = true;
if (config != null)
{
//
@ -344,7 +344,6 @@ namespace OpenSim.Region.ClientStack.Linden
using (StreamReader sr = File.OpenText("ScriptSyntax.xml"))
{
StringBuilder sb = new StringBuilder(400*1024);
sb.Append("<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer>");
string s="";
char[] trimc = new char[] {' ','\t', '\n', '\r'};
@ -355,7 +354,6 @@ namespace OpenSim.Region.ClientStack.Linden
continue;
sb.Append(s);
}
sb.Append("</map></llsd>");
m_scriptSyntaxXML = sb.ToString();
m_scriptSyntaxID = Util.ComputeSHA1UUID(m_scriptSyntaxXML);
}

File diff suppressed because it is too large Load Diff