Changeset 5628


Ignore:
Timestamp:
10/23/09 09:40:49 (10 years ago)
Author:
melissa
Message:

Don't populate any Mask attributes if parseMasks is set to false.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/MIASReader.java

    r5625 r5628  
    932932    String overlayTiff) throws FormatException, IOException 
    933933  { 
     934    if (!parseMasks) return 0; 
    934935    int nOverlays = 3; 
    935936    for (int i=0; i<nOverlays; i++) { 
     
    947948      overlayFiles.put(id, overlayTiff); 
    948949      overlayPlanes.put(id, new Integer(i)); 
    949       if (parseMasks) { 
    950         populateMaskPixels(series, roi, 0); 
    951       } 
     950      populateMaskPixels(series, roi, 0); 
    952951    } 
    953952    return nOverlays; 
Note: See TracChangeset for help on using the changeset viewer.