From f5eac12a88d2b7fd5011cc3634191e51849f2394 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 24 Sep 2007 15:56:34 +0000 Subject: * Renamed ScriptConsole to PluginConsole for clarity * Fixed a bug where ODE tries to do a physics update for zero frames. --- OpenSim/Region/Environment/Scenes/Scene.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 4e9cbe3..94d1deb 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -220,9 +220,9 @@ namespace OpenSim.Region.Environment.Scenes #region Script Handling Methods - public void SendCommandToScripts(string[] args) + public void SendCommandToPlugins(string[] args) { - m_eventManager.TriggerOnScriptConsole(args); + m_eventManager.TriggerOnPluginConsole(args); } #endregion @@ -275,7 +275,7 @@ namespace OpenSim.Region.Environment.Scenes if (m_frame % m_update_physics == 0) UpdatePhysics( - Math.Min(SinceLastFrame.TotalSeconds, 0.001) + Math.Min(SinceLastFrame.TotalSeconds, m_timespan) ); if (m_frame % m_update_entities == 0) -- cgit v1.1