diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 5893a11..045fbb1 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | |||
@@ -82,7 +82,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
82 | private Dictionary<string, ITerrainEffect> m_plugineffects; | 82 | private Dictionary<string, ITerrainEffect> m_plugineffects; |
83 | private ITerrainChannel m_revert; | 83 | private ITerrainChannel m_revert; |
84 | private Scene m_scene; | 84 | private Scene m_scene; |
85 | private bool m_tainted; | 85 | private volatile bool m_tainted; |
86 | 86 | ||
87 | #region ICommandableModule Members | 87 | #region ICommandableModule Members |
88 | 88 | ||
@@ -327,6 +327,11 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
327 | } | 327 | } |
328 | } | 328 | } |
329 | 329 | ||
330 | public void TaintTerrain () | ||
331 | { | ||
332 | CheckForTerrainUpdates(); | ||
333 | } | ||
334 | |||
330 | #region Plugin Loading Methods | 335 | #region Plugin Loading Methods |
331 | 336 | ||
332 | private void LoadPlugins() | 337 | private void LoadPlugins() |
@@ -1080,6 +1085,8 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
1080 | m_scene.RegisterModuleCommander(m_commander); | 1085 | m_scene.RegisterModuleCommander(m_commander); |
1081 | } | 1086 | } |
1082 | 1087 | ||
1088 | |||
1083 | #endregion | 1089 | #endregion |
1090 | |||
1084 | } | 1091 | } |
1085 | } | 1092 | } |