diff --git a/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/KtxOctreeBlockTileSource.java b/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/KtxOctreeBlockTileSource.java index 00b821520..3c1850f0b 100644 --- a/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/KtxOctreeBlockTileSource.java +++ b/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/KtxOctreeBlockTileSource.java @@ -90,8 +90,6 @@ private KtxHeader loadKtxHeader(KtxOctreeBlockTileKey octreeRootKey) { private KtxOctreeResolution getKtxResolution(KtxHeader ktxHeader) { // Parse maximum resolution int maxRes = Integer.parseInt(ktxHeader.keyValueMetadata.get("multiscale_total_levels").trim()) - 1; - if (maxRes==0) - maxRes = 1; return new KtxOctreeResolution(maxRes); } diff --git a/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/OctreeDisplayBlockChooser.java b/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/OctreeDisplayBlockChooser.java index dab95334a..c2e068883 100644 --- a/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/OctreeDisplayBlockChooser.java +++ b/modules/HortaTracer/src/main/java/org/janelia/horta/blocks/OctreeDisplayBlockChooser.java @@ -22,7 +22,7 @@ public class OctreeDisplayBlockChooser implements BlockChooser