Revert my two quick fixes for the lag issue and put in the real fix, which

is to only write to the database if data was changed. I was writing to the db
on every step of every avatar. Sure to give us lag, that.
iar_mods
Melanie 2012-02-05 20:47:02 +00:00
parent a5fcdde179
commit 130b1c0665
1 changed files with 2 additions and 1 deletions

View File

@ -1139,6 +1139,7 @@ namespace OpenSim.Region.CoreModules.World.Land
foreach (LandAccessEntry entry in delete) foreach (LandAccessEntry entry in delete)
LandData.ParcelAccessList.Remove(entry); LandData.ParcelAccessList.Remove(entry);
if (delete.Count > 0)
m_scene.EventManager.TriggerLandObjectUpdated((uint)LandData.LocalID, this); m_scene.EventManager.TriggerLandObjectUpdated((uint)LandData.LocalID, this);
} }
} }