Changeset 407 for trunk/loci/visbio/view


Ignore:
Timestamp:
05/25/05 15:02:47 (15 years ago)
Author:
curtis
Message:

Make displays behave reasonably when thumbnail generation is turned off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/view/ColorHandler.java

    r381 r407  
    152152        if (trans instanceof ImageTransform) { 
    153153          ImageTransform it = (ImageTransform) trans; 
    154           ff = VisUtil.switchType(ff, it.getType()); 
     154          if (ff != null) ff = VisUtil.switchType(ff, it.getType()); 
    155155        } 
    156156        colorPane.setPreviewData(ff); 
Note: See TracChangeset for help on using the changeset viewer.