slightly rearrange test for filled channels
@@ -548,12 +548,12 @@ TileBufferTask::execute ()
for (unsigned int c = 0; c < _ifd->slices.size(); ++c)
{
// This slice does not exist in the file.
- if (_ifd->slices[c]->fill)
- continue;
-
+ if ( !_ifd->slices[c]->fill)
+ {
sizeOfTile += count * pixelTypeSize(_ifd->slices[c]->typeInFile);
bytesPerLine += count * pixelTypeSize(_ifd->slices[c]->typeInFile);
}
+ }
numPixelsPerScanLine[y - tileRange.min.y] += count;
}
