Changeset 7464


Ignore:
Timestamp:
12/27/10 10:41:57 (9 years ago)
Author:
melissa
Message:

Reset ColorModel after setting the display range; this prevents LUTs from displaying incorrectly. Closes #630.

File:
1 edited

Legend:

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

    r6948 r7464  
    278278        colorProc.setMinAndMax(globalMin, globalMax, 3); 
    279279      } 
    280       else proc.setMinAndMax(globalMin, globalMax); 
     280      else { 
     281        ColorModel model = proc.getColorModel(); 
     282        proc.setMinAndMax(globalMin, globalMax); 
     283        proc.setColorModel(model); 
     284      } 
    281285    } 
    282286  } 
Note: See TracChangeset for help on using the changeset viewer.