let the syntax file include its id again
parent
a95397e8f5
commit
a1d132d3ca
|
@ -347,6 +347,15 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
|
|
||||||
string s="";
|
string s="";
|
||||||
char[] trimc = new char[] {' ','\t', '\n', '\r'};
|
char[] trimc = new char[] {' ','\t', '\n', '\r'};
|
||||||
|
|
||||||
|
s = sr.ReadLine();
|
||||||
|
if(s == null)
|
||||||
|
return;
|
||||||
|
s = s.Trim(trimc);
|
||||||
|
UUID id;
|
||||||
|
if(!UUID.TryParse(s,out id))
|
||||||
|
return;
|
||||||
|
|
||||||
while ((s = sr.ReadLine()) != null)
|
while ((s = sr.ReadLine()) != null)
|
||||||
{
|
{
|
||||||
s = s.Trim(trimc);
|
s = s.Trim(trimc);
|
||||||
|
@ -355,7 +364,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
sb.Append(s);
|
sb.Append(s);
|
||||||
}
|
}
|
||||||
m_scriptSyntaxXML = sb.ToString();
|
m_scriptSyntaxXML = sb.ToString();
|
||||||
m_scriptSyntaxID = Util.ComputeSHA1UUID(m_scriptSyntaxXML);
|
m_scriptSyntaxID = id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
a6ccf55f-ded5-9093-571c-478cadca66de
|
||||||
<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer>
|
<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer>
|
||||||
<key>controls</key>
|
<key>controls</key>
|
||||||
<map>
|
<map>
|
||||||
|
|
Loading…
Reference in New Issue