diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 3e4d552..90ad098 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -293,8 +293,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
293 | get { return RootPart.VolumeDetectActive; } | 293 | get { return RootPart.VolumeDetectActive; } |
294 | } | 294 | } |
295 | 295 | ||
296 | public float scriptScore; | ||
297 | |||
298 | private Vector3 lastPhysGroupPos; | 296 | private Vector3 lastPhysGroupPos; |
299 | private Quaternion lastPhysGroupRot; | 297 | private Quaternion lastPhysGroupRot; |
300 | 298 | ||
@@ -1718,12 +1716,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1718 | 1716 | ||
1719 | public void AddScriptLPS(int count) | 1717 | public void AddScriptLPS(int count) |
1720 | { | 1718 | { |
1721 | if (scriptScore + count >= float.MaxValue - count) | 1719 | m_scene.SceneGraph.AddToScriptLPS(count); |
1722 | scriptScore = 0; | ||
1723 | |||
1724 | scriptScore += (float)count; | ||
1725 | SceneGraph d = m_scene.SceneGraph; | ||
1726 | d.AddToScriptLPS(count); | ||
1727 | } | 1720 | } |
1728 | 1721 | ||
1729 | public void AddActiveScriptCount(int count) | 1722 | public void AddActiveScriptCount(int count) |