Change XEngine to call StateChange rather than RemoveScript on state changes
parent
f0eeb47262
commit
7c121a2acc
|
@ -827,7 +827,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||||
Part.AbsolutePosition,
|
Part.AbsolutePosition,
|
||||||
Part.ParentGroup.Scene.Name);
|
Part.ParentGroup.Scene.Name);
|
||||||
|
|
||||||
AsyncCommandManager.RemoveScript(Engine,
|
AsyncCommandManager.StateChange(Engine,
|
||||||
LocalID, ItemID);
|
LocalID, ItemID);
|
||||||
|
|
||||||
Part.SetScriptEvents(ItemID, (int)m_Script.GetStateEventFlags(State));
|
Part.SetScriptEvents(ItemID, (int)m_Script.GetStateEventFlags(State));
|
||||||
|
|
Loading…
Reference in New Issue