diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs index 2bda5ba4e2..4f989fa39c 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs @@ -202,6 +202,11 @@ namespace OpenSim.Terrain resultText += "terrain bake - saves the current terrain into the revert map\n"; resultText += "terrain csfilter - loads a new filter from the specified .cs file\n"; resultText += "terrain jsfilter - loads a new filter from the specified .js file\n"; + foreach (KeyValuePair filter in customFilters.filters) + { + resultText += filter.Value.Help(); + } + return false; case "revert": diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs index 6a83c8a738..689375d786 100644 --- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs +++ b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainFilter.cs @@ -15,6 +15,7 @@ namespace OpenSim.Terrain { void Filter(Channel heightmap, string[] args); string Register(); + string Help(); } public class TestFilter : ITerrainFilter @@ -28,6 +29,11 @@ namespace OpenSim.Terrain { return "demofilter"; } + + public string Help() + { + return "demofilter - Does nothing"; + } } public class FilterHost