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
parent
a5fcdde179
commit
130b1c0665
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue