From 13312e918231a7cf59d03c2093a89bbddf06066b Mon Sep 17 00:00:00 2001 From: piexel Date: Sun, 18 Oct 2026 22:06:11 +0200 Subject: [PATCH] Show textures when they finish loading before the first palette layer The explorer only reloaded the map for textures once a layer was already showing. Now that the Minecraft jar is cached, textures can finish while the first layer is still loading, which left that layer on map colours until another layer was picked. Model used: Claude Opus 5.5 --- .../main/java/com/volmit/iris/core/gui/NoiseExplorerGUI.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/volmit/iris/core/gui/NoiseExplorerGUI.java b/core/src/main/java/com/volmit/iris/core/gui/NoiseExplorerGUI.java index 4d35170fa..741ed95fe 100644 --- a/core/src/main/java/com/volmit/iris/core/gui/NoiseExplorerGUI.java +++ b/core/src/main/java/com/volmit/iris/core/gui/NoiseExplorerGUI.java @@ -648,7 +648,8 @@ public final class NoiseExplorerGUI extends JPanel { } blockTextures = textures; paletteInspector.showTextureStatus(null); - if (palettePreview != null) { + // The first layer may still be loading without textures, so it has to be reloaded even before it shows. + if (selectedSource != null) { loadSelectedSource(); } }