Skip to content

Commit

Permalink
Verify there is a channel axis to set
Browse files Browse the repository at this point in the history
  • Loading branch information
hinerm committed Jun 13, 2014
1 parent 4d29cff commit f9935f8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -174,7 +174,7 @@ public void updateLegacyImage(final Dataset ds, final ImagePlus imp) {
if (zIndex >= 0) accessor.setPosition(z, zIndex);
for (int c = 0; c < cSize; c++) {
final ImageProcessor proc = stack.getProcessor(imagejPlaneNumber++);
if (!ds.isRGBMerged()) {
if (!ds.isRGBMerged() && cIndex >= 0) {
accessor.setPosition(c, cIndex);
}
// TEMP HACK THAT FIXES VIRT STACK PROB BUT SLOW
Expand Down

0 comments on commit f9935f8

Please sign in to comment.