diff options
author | Diva Canto | 2010-12-14 17:50:37 -0800 |
---|---|---|
committer | Diva Canto | 2010-12-14 17:50:37 -0800 |
commit | e3262ef5ace4be920edfa0dd4e4f23fc20b07b70 (patch) | |
tree | 4a4397b83f7faedf8ea8795947a5f4d9d4b21370 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Fix windows compile break (diff) | |
download | opensim-SC_OLD-e3262ef5ace4be920edfa0dd4e4f23fc20b07b70.zip opensim-SC_OLD-e3262ef5ace4be920edfa0dd4e4f23fc20b07b70.tar.gz opensim-SC_OLD-e3262ef5ace4be920edfa0dd4e4f23fc20b07b70.tar.bz2 opensim-SC_OLD-e3262ef5ace4be920edfa0dd4e4f23fc20b07b70.tar.xz |
Commented out the UpdateLand call from the Update thread loop, because this may be causing the #LoginLag. Attachments taint the prim count. Twice. Each.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index de75375..73a0803 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1302,12 +1302,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1302 | terrainMS = Util.EnvironmentTickCountSubtract(terMS); | 1302 | terrainMS = Util.EnvironmentTickCountSubtract(terMS); |
1303 | } | 1303 | } |
1304 | 1304 | ||
1305 | if (m_frame % m_update_land == 0) | 1305 | //if (m_frame % m_update_land == 0) |
1306 | { | 1306 | //{ |
1307 | int ldMS = Util.EnvironmentTickCount(); | 1307 | // int ldMS = Util.EnvironmentTickCount(); |
1308 | UpdateLand(); | 1308 | // UpdateLand(); |
1309 | landMS = Util.EnvironmentTickCountSubtract(ldMS); | 1309 | // landMS = Util.EnvironmentTickCountSubtract(ldMS); |
1310 | } | 1310 | //} |
1311 | 1311 | ||
1312 | frameMS = Util.EnvironmentTickCountSubtract(tmpFrameMS); | 1312 | frameMS = Util.EnvironmentTickCountSubtract(tmpFrameMS); |
1313 | otherMS = tempOnRezMS + eventMS + backupMS + terrainMS + landMS; | 1313 | otherMS = tempOnRezMS + eventMS + backupMS + terrainMS + landMS; |