Move the calculation of time dilation from the scene to the physics engine. The scene is still the one reporting dilation so this does not break the API or remove flexibility, but it gets the calculation happening in the right place for the normal OpenSim usage. The actual calculation of physics time dilation probably needs tweaking

This commit is contained in:
John Hurliman
2009-10-27 16:24:43 -07:00
parent 12da4d4242
commit 0c466b28bb
4 changed files with 21 additions and 17 deletions

View File

@@ -106,9 +106,8 @@ namespace OpenSim.Region.Framework.Scenes
public float TimeDilation
{
get { return m_timedilation; }
get { return 1.0f; }
}
protected float m_timedilation = 1.0f;
protected ulong m_regionHandle;
protected string m_regionName;