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:
@@ -78,6 +78,16 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
inst.Die();
|
||||
}
|
||||
|
||||
public void SetLSLTimer(double time)
|
||||
{
|
||||
m_timer = time;
|
||||
}
|
||||
|
||||
public double getLSLTimer()
|
||||
{
|
||||
return(m_timer);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Seat avatar on prim.
|
||||
* @param owner = true: owner of prim script is running in
|
||||
@@ -218,6 +228,10 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
// do not do llResetScript on entry
|
||||
if(eventCode == ScriptEventCode.state_entry && stateCode == 0)
|
||||
return;
|
||||
|
||||
if (m_XMRLSLApi != null)
|
||||
m_XMRLSLApi.llResetTime();
|
||||
|
||||
// do clear the events queue on reset
|
||||
ClearQueue();
|
||||
//ClearQueueExceptLinkMessages();
|
||||
|
||||
Reference in New Issue
Block a user