aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2013-01-27 23:35:53 +0100
committerMelanie2013-01-27 23:35:53 +0100
commite336c50813b0bf1fff463e3d54e13530cb95ff0e (patch)
tree312c3de46398c9dfacf6dcbf6d281efaaf5546c2 /OpenSim/Region/Framework
parentPrevent items being destroyed by rename operations. Renaming of a wearable also (diff)
downloadopensim-SC_OLD-e336c50813b0bf1fff463e3d54e13530cb95ff0e.zip
opensim-SC_OLD-e336c50813b0bf1fff463e3d54e13530cb95ff0e.tar.gz
opensim-SC_OLD-e336c50813b0bf1fff463e3d54e13530cb95ff0e.tar.bz2
opensim-SC_OLD-e336c50813b0bf1fff463e3d54e13530cb95ff0e.tar.xz
Send moving_end event to scripts when keyframed motion ends.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/KeyframeMotion.cs10
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