Changeset 4810


Ignore:
Timestamp:
02/17/09 08:06:29 (11 years ago)
Author:
melissa
Message:

Fixed bug that prevented Data Browser from being displayed if "Use Virtual Stack" was unchecked and lookup tables were present.

Location:
trunk/components/loci-plugins/src/loci/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/src/loci/plugins/BFVirtualStack.java

    r4473 r4810  
    238238 
    239239  public int getSize() { 
     240    if (reader.getCurrentFile() == null) return 0; 
    240241    reader.setSeries(series); 
    241242    if (merge) return new ChannelMerger(reader).getImageCount(); 
  • trunk/components/loci-plugins/src/loci/plugins/Importer.java

    r4796 r4810  
    833833        } 
    834834        else imp.show(); 
    835         if ((splitC || splitZ || splitT) && !options.isVirtual()) { 
     835 
     836        boolean virtual = options.isViewBrowser() || options.isVirtual(); 
     837 
     838        if ((splitC || splitZ || splitT) && !virtual) { 
    836839          IJ.runPlugIn("loci.plugins.Slicer", "slice_z=" + splitZ + 
    837840            " slice_c=" + splitC + " slice_t=" + splitT + 
     
    860863          } 
    861864        } 
    862         else if ((colorize || customColorize) && !options.isVirtual()) { 
     865        else if ((colorize || customColorize) && !virtual) { 
    863866          IJ.runPlugIn("loci.plugins.Colorizer", "stack_order=" + stackOrder + 
    864867            " merge=false colorize=true ndx=" + (customColorize ? "-1" : "0") + 
    865868            " hyper_stack=" + options.isViewHyperstack() + " "); 
    866869        } 
    867         else if (colorModels != null && !options.isVirtual()) { 
     870        else if (colorModels != null && !virtual) { 
    868871          Colorizer colorizer = new Colorizer(); 
    869872          String arg = "stack_order=" + stackOrder + " merge=false " + 
Note: See TracChangeset for help on using the changeset viewer.