From 51a7053d7eeabc1f6f291941c459d69def1f3ddf Mon Sep 17 00:00:00 2001 From: tom lee Date: Sat, 15 Jan 2022 19:10:29 +0800 Subject: [PATCH] Update core & make LightMode easy to switch. --- .../wrappers/worldGeneration/WorldGenerationStep.java | 6 ++++-- core | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/WorldGenerationStep.java b/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/WorldGenerationStep.java index 57ff44c72..7b348eb36 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/WorldGenerationStep.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/WorldGenerationStep.java @@ -100,7 +100,9 @@ Lod Generation: 0.269023348s */ public final class WorldGenerationStep { - public static final boolean ENABLE_PERF_LOGGING = true; + public static final boolean ENABLE_PERF_LOGGING = false; + //TODO: Make this LightMode a config + public static final LightMode DEFAULT_LIGHTMODE = LightMode.Fancy; public static class Rolling { @@ -351,7 +353,7 @@ public final class WorldGenerationStep { id = generationFutureDebugIDs++; this.target = target; this.tParam = ThreadedParameters.getOrMake(generationGroup.params); - this.lightMode = LightMode.Fancy; //TODO: Make this an option/config + this.lightMode = DEFAULT_LIGHTMODE; future = generationGroup.executors.submit(() -> { generationGroup.generateLodFromList(this); }); diff --git a/core b/core index 4c122512a..0c4de076c 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 4c122512ac9a49244527612298061ab214d3bda2 +Subproject commit 0c4de076caa039a1f12bd8e67504a29154d99b58