Skip to content

Commit

Permalink
Fix another off-by-one error
Browse files Browse the repository at this point in the history
  • Loading branch information
minnerbe committed Jan 5, 2025
1 parent 486e5eb commit 090246e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@ private Void fuseBlock(
layerOrigins.forEach((exportZ, layerOrigin) -> {
final int zRender = getStackZValue(layerOrigin);
if (zRender >= 0) {
// The export starts with a blank layer, hence the +1
zRenderToExport.put(zRender, exportZ + 1);
zRenderToExport.put(zRender, exportZ);
}
});

Expand Down

0 comments on commit 090246e

Please sign in to comment.