Skip to content

Commit

Permalink
Imaris: For non 0 indexed colors remove null entries
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed Jun 4, 2024
1 parent acc4b6d commit fd17421
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ protected void initFile(String id) throws FormatException, IOException {
catch (NumberFormatException e) { }
}

colors.remove(null);
if (i < colors.size()) {
double[] color = colors.get(i);
Color realColor = new Color(
Expand Down

0 comments on commit fd17421

Please sign in to comment.