aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-09-24 15:56:34 +0000
committerAdam Frisby2007-09-24 15:56:34 +0000
commitf5eac12a88d2b7fd5011cc3634191e51849f2394 (patch)
treefb635d8bfe028d3626658805eb8c03c14e3be192 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Refactored the central update loop - now easier to work with. Switching fro... (diff)
downloadopensim-SC_OLD-f5eac12a88d2b7fd5011cc3634191e51849f2394.zip
opensim-SC_OLD-f5eac12a88d2b7fd5011cc3634191e51849f2394.tar.gz
opensim-SC_OLD-f5eac12a88d2b7fd5011cc3634191e51849f2394.tar.bz2
opensim-SC_OLD-f5eac12a88d2b7fd5011cc3634191e51849f2394.tar.xz
* Renamed ScriptConsole to PluginConsole for clarity
* Fixed a bug where ODE tries to do a physics update for zero frames.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs6
1 files changed, 3 insertions, 3 deletions
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
220 220
221 #region Script Handling Methods 221 #region Script Handling Methods
222 222
223 public void SendCommandToScripts(string[] args) 223 public void SendCommandToPlugins(string[] args)
224 { 224 {
225 m_eventManager.TriggerOnScriptConsole(args); 225 m_eventManager.TriggerOnPluginConsole(args);
226 } 226 }
227 227
228 #endregion 228 #endregion
@@ -275,7 +275,7 @@ namespace OpenSim.Region.Environment.Scenes
275 275
276 if (m_frame % m_update_physics == 0) 276 if (m_frame % m_update_physics == 0)
277 UpdatePhysics( 277 UpdatePhysics(
278 Math.Min(SinceLastFrame.TotalSeconds, 0.001) 278 Math.Min(SinceLastFrame.TotalSeconds, m_timespan)
279 ); 279 );
280 280
281 if (m_frame % m_update_entities == 0) 281 if (m_frame % m_update_entities == 0)