From ca9dfed516ddcc336c2bb95d37dcecd2b381f9e7 Mon Sep 17 00:00:00 2001 From: Builderb0y Date: Fri, 1 Dec 2023 15:50:38 +0000 Subject: [PATCH] use higher Y level instead of higher opacity when forcing the lowest segment to merge. --- .../core/util/RenderDataPointReducingList.java | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/util/RenderDataPointReducingList.java b/core/src/main/java/com/seibel/distanthorizons/core/util/RenderDataPointReducingList.java index 25243147c..c19f6f149 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/util/RenderDataPointReducingList.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/util/RenderDataPointReducingList.java @@ -559,15 +559,9 @@ public class RenderDataPointReducingList { int lowest = this.getLowest(); int higher = this.getHigher(lowest); if (higher != NULL) { - if (this.getAlpha(higher) >= this.getAlpha(lowest)) { - this.setMinY(higher, this.getMinY(lowest)); - this.remove(lowest); - } - else { - this.setMaxY(lowest, this.getMaxY(higher)); - this.resortSize(lowest); - this.remove(higher); - } + this.setMinY(higher, this.getMinY(lowest)); + this.resortSize(higher); + this.remove(lowest); if (ASSERTS) this.checkLinks(); return false; //go back to step 1. }