Thank you kindly, Melanie for a patch to solve

llParticleSystem and osDynamicTexture issues.
This commit is contained in:
Charles Krinke
2008-05-02 23:23:39 +00:00
parent e538a34acc
commit 18362b25bf
3 changed files with 56 additions and 37 deletions

View File

@@ -295,7 +295,19 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
if (e.InnerException != null)
{
// Send inner exception
text += e.InnerException.Message.ToString();
string[] lines=e.InnerException.ToString().Replace("\r", "").Split('\n');
int line=0;
foreach(string t in lines)
{
int idx=t.IndexOf("SecondLife.Script.");
if(idx != -1)
{
int colon=t.IndexOf(":");
line=Convert.ToInt32(t.Substring(colon+1));
break;
}
}
text += e.InnerException.Message.ToString()+" in line "+line.ToString();
}
else
{