mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
mantis 8704: fix issues on YEngine
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Region.ScriptEngine.Shared;
|
||||
using OpenSim.Region.ScriptEngine.Shared.Api;
|
||||
using log4net;
|
||||
@@ -115,6 +116,14 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
m_RunOnePhase = "GetExecutionState D";
|
||||
CheckRunLockInvariants(true);
|
||||
|
||||
if(m_XMRLSLApi != null)
|
||||
{
|
||||
double scriptTime = Util.GetTimeStampMS() - m_XMRLSLApi.getLSLTimer();
|
||||
XmlElement scriptTimeN = doc.CreateElement("", "scrpTime", "");
|
||||
scriptTimeN.AppendChild(doc.CreateTextNode(scriptTime.ToString()));
|
||||
scriptStateN.AppendChild(scriptTimeN);
|
||||
}
|
||||
|
||||
if (m_minEventDelay != 0.0)
|
||||
{
|
||||
XmlElement minEventDelayN = doc.CreateElement("", "mEvtDly", "");
|
||||
|
||||
Reference in New Issue
Block a user