diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/KeyframeMotion.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs b/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs index 5cfba39..134a620 100644 --- a/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs +++ b/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs | |||
@@ -525,6 +525,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
525 | { | 525 | { |
526 | Stop(); | 526 | Stop(); |
527 | m_inOnTimer = false; | 527 | m_inOnTimer = false; |
528 | Scene scene = m_group.Scene; | ||
529 | |||
530 | IScriptModule[] scriptModules = scene.RequestModuleInterfaces<IScriptModule>(); | ||
531 | foreach (IScriptModule m in scriptModules) | ||
532 | { | ||
533 | if (m == null) | ||
534 | continue; | ||
535 | m.PostObjectEvent(m_group.RootPart.UUID, "moving_end", new object[0]); | ||
536 | } | ||
537 | |||
528 | return; | 538 | return; |
529 | } | 539 | } |
530 | 540 | ||