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.
This commit is contained in:
Melanie
2012-02-05 20:47:02 +00:00
parent a5fcdde179
commit 130b1c0665

View File

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