diff options
author | Melanie | 2012-03-18 20:44:56 +0000 |
---|---|---|
committer | Melanie | 2012-03-18 20:44:56 +0000 |
commit | c7e302864a2eef7f9587ed22286c96a6074ac5b3 (patch) | |
tree | 8f0df2f66811309fd790966770434fa3ff68bfdf /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Merge branch 'ubitwork' (diff) | |
parent | Amend to previous commit: normalize strings ToLower. (diff) | |
download | opensim-SC_OLD-c7e302864a2eef7f9587ed22286c96a6074ac5b3.zip opensim-SC_OLD-c7e302864a2eef7f9587ed22286c96a6074ac5b3.tar.gz opensim-SC_OLD-c7e302864a2eef7f9587ed22286c96a6074ac5b3.tar.bz2 opensim-SC_OLD-c7e302864a2eef7f9587ed22286c96a6074ac5b3.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
OpenSim/Region/Framework/Scenes/Scene.cs
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 5507aa0..0d1adcb 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 | ||
@@ -1622,12 +1620,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1622 | 1620 | ||
1623 | public void AddScriptLPS(int count) | 1621 | public void AddScriptLPS(int count) |
1624 | { | 1622 | { |
1625 | if (scriptScore + count >= float.MaxValue - count) | 1623 | m_scene.SceneGraph.AddToScriptLPS(count); |
1626 | scriptScore = 0; | ||
1627 | |||
1628 | scriptScore += (float)count; | ||
1629 | SceneGraph d = m_scene.SceneGraph; | ||
1630 | d.AddToScriptLPS(count); | ||
1631 | } | 1624 | } |
1632 | 1625 | ||
1633 | public void AddActiveScriptCount(int count) | 1626 | public void AddActiveScriptCount(int count) |