Temporarily reinstate prim counting in the update loop to make the production

systems run
avinationmerge
Melanie 2011-01-14 04:09:02 +01:00
parent fe2d9be0cf
commit a30bbcbb64
1 changed files with 7 additions and 7 deletions

View File

@ -151,7 +151,7 @@ namespace OpenSim.Region.Framework.Scenes
private int m_update_events = 1;
private int m_update_backup = 200;
private int m_update_terrain = 50;
// private int m_update_land = 1;
private int m_update_land = 10;
private int m_update_coarse_locations = 50;
private int frameMS;
@ -1330,12 +1330,12 @@ namespace OpenSim.Region.Framework.Scenes
terrainMS = Util.EnvironmentTickCountSubtract(terMS);
}
//if (m_frame % m_update_land == 0)
//{
// int ldMS = Util.EnvironmentTickCount();
// UpdateLand();
// landMS = Util.EnvironmentTickCountSubtract(ldMS);
//}
if (m_frame % m_update_land == 0)
{
int ldMS = Util.EnvironmentTickCount();
UpdateLand();
landMS = Util.EnvironmentTickCountSubtract(ldMS);
}
frameMS = Util.EnvironmentTickCountSubtract(tmpFrameMS);
otherMS = tempOnRezMS + eventMS + backupMS + terrainMS + landMS;