diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs index 6f9adc9..ca07443 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | |||
@@ -332,6 +332,16 @@ namespace OpenSim.Region.Environment.Modules.Terrain | |||
332 | m_channel[x, y] = Double.Parse(param); | 332 | m_channel[x, y] = Double.Parse(param); |
333 | SendUpdatedLayerData(); | 333 | SendUpdatedLayerData(); |
334 | break; | 334 | break; |
335 | case "newbrushes": | ||
336 | if (Boolean.Parse(param)) | ||
337 | { | ||
338 | m_painteffects[StandardTerrainEffects.Revert] = new PaintBrushes.WeatherSphere(); | ||
339 | } | ||
340 | else | ||
341 | { | ||
342 | InstallDefaultEffects(); | ||
343 | } | ||
344 | break; | ||
335 | default: | 345 | default: |
336 | m_log.Warn("Unknown terrain command."); | 346 | m_log.Warn("Unknown terrain command."); |
337 | break; | 347 | break; |