private void GenerateHeightTexture()
 {
     if (lastLayer == null)
     {
         return;
     }
     lastLayer.SavedMap = MainAlgorithms.GeneratedSimplexTexture(Terrain, lastLayer.LayerProperties);
 }
 private void GenerateHeightTexture(HeightLayer hLayer)
 {
     hLayer.SavedMap = MainAlgorithms.GeneratedSimplexTexture(Terrain, hLayer.LayerProperties);
 }