Send moving_end event to scripts when keyframed motion ends.
parent
380b017e32
commit
e336c50813
|
@ -525,6 +525,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
{
|
{
|
||||||
Stop();
|
Stop();
|
||||||
m_inOnTimer = false;
|
m_inOnTimer = false;
|
||||||
|
Scene scene = m_group.Scene;
|
||||||
|
|
||||||
|
IScriptModule[] scriptModules = scene.RequestModuleInterfaces<IScriptModule>();
|
||||||
|
foreach (IScriptModule m in scriptModules)
|
||||||
|
{
|
||||||
|
if (m == null)
|
||||||
|
continue;
|
||||||
|
m.PostObjectEvent(m_group.RootPart.UUID, "moving_end", new object[0]);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue