Add a new global event : OnTerrainUpdate

This commit is contained in:
Tom Grimshaw
2010-06-26 18:51:19 -07:00
parent c97e9f8621
commit 592ff1288d
2 changed files with 26 additions and 0 deletions

View File

@@ -544,6 +544,8 @@ namespace OpenSim.Region.CoreModules.World.Terrain
m_scene.PhysicsScene.SetTerrain(m_channel.GetFloatsSerialised());
m_scene.SaveTerrain();
m_scene.EventManager.TriggerTerrainUpdate();
// Clients who look at the map will never see changes after they looked at the map, so i've commented this out.
//m_scene.CreateTerrainTexture(true);
}