aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
diff options
context:
space:
mode:
authorTom Grimshaw2010-06-26 18:51:19 -0700
committerTom Grimshaw2010-06-26 18:51:19 -0700
commit592ff1288dd1fccc1d2efde90e94ca0ab4a57652 (patch)
tree8dfbc9098a41728a38cb26d80316a23f2e3fbcba /OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
parentReverting the ITerrainModule changes. Turns out this was useless. (diff)
downloadopensim-SC_OLD-592ff1288dd1fccc1d2efde90e94ca0ab4a57652.zip
opensim-SC_OLD-592ff1288dd1fccc1d2efde90e94ca0ab4a57652.tar.gz
opensim-SC_OLD-592ff1288dd1fccc1d2efde90e94ca0ab4a57652.tar.bz2
opensim-SC_OLD-592ff1288dd1fccc1d2efde90e94ca0ab4a57652.tar.xz
Add a new global event : OnTerrainUpdate
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
index 1e7ea7b..0c20393 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
@@ -544,6 +544,8 @@ namespace OpenSim.Region.CoreModules.World.Terrain
544 m_scene.PhysicsScene.SetTerrain(m_channel.GetFloatsSerialised()); 544 m_scene.PhysicsScene.SetTerrain(m_channel.GetFloatsSerialised());
545 m_scene.SaveTerrain(); 545 m_scene.SaveTerrain();
546 546
547 m_scene.EventManager.TriggerTerrainUpdate();
548
547 // Clients who look at the map will never see changes after they looked at the map, so i've commented this out. 549 // Clients who look at the map will never see changes after they looked at the map, so i've commented this out.
548 //m_scene.CreateTerrainTexture(true); 550 //m_scene.CreateTerrainTexture(true);
549 } 551 }