From b7bb5b72179da5e2d78d5b280586c31a28165f63 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 14 Jul 2022 17:42:10 -0400 Subject: [PATCH] Uncomment resolution --- NewHorizons/External/Modules/HeightMapModule.cs | 2 -- NewHorizons/Handlers/PlanetCreationHandler.cs | 3 --- 2 files changed, 5 deletions(-) diff --git a/NewHorizons/External/Modules/HeightMapModule.cs b/NewHorizons/External/Modules/HeightMapModule.cs index d2ef4371..945f65ed 100644 --- a/NewHorizons/External/Modules/HeightMapModule.cs +++ b/NewHorizons/External/Modules/HeightMapModule.cs @@ -33,7 +33,6 @@ namespace NewHorizons.External.Modules /// public string textureMap; - /* /// /// Resolution of the heightmap. /// Higher values means more detail but also more memory/cpu/gpu usage. @@ -42,6 +41,5 @@ namespace NewHorizons.External.Modules [Range(1 * 4, 500 * 4)] [DefaultValue(51 * 4)] public int resolution = 51 * 4; - */ } } \ No newline at end of file diff --git a/NewHorizons/Handlers/PlanetCreationHandler.cs b/NewHorizons/Handlers/PlanetCreationHandler.cs index f6e23438..8529e994 100644 --- a/NewHorizons/Handlers/PlanetCreationHandler.cs +++ b/NewHorizons/Handlers/PlanetCreationHandler.cs @@ -466,13 +466,10 @@ namespace NewHorizons.Handlers if (body.Config.HeightMap != null) { - /* // resolution = tris on edge per face // divide by 4 to account for all the way around the equator var res = body.Config.HeightMap.resolution / 4; HeightMapBuilder.Make(go, sector, body.Config.HeightMap, body.Mod, res); - */ - HeightMapBuilder.Make(go, sector, body.Config.HeightMap, body.Mod, 51); } if (body.Config.ProcGen != null)