Changeset 437 for trunk/loci/visbio/view


Ignore:
Timestamp:
06/07/05 17:58:09 (15 years ago)
Author:
curtis
Message:

More micron-related bugfixes.

File:
1 edited

Legend:

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

    r431 r437  
    379379      ImageTransform it = (ImageTransform) trans; 
    380380      FunctionType ftype = it.getType(); 
    381       Unit[] units = it.getImageUnits(); 
     381      Unit[] imageUnits = it.getImageUnits(); 
    382382      try { 
    383         d = VisUtil.switchType(ff, ftype, units);  
     383        d = VisUtil.switchType(ff, ftype, imageUnits);  
    384384 
    385385        // wrap image in another field, to assign proper Z value 
     
    518518        RealType zType = it.getZType(); 
    519519        FunctionType imageType = it.getType(); 
    520         Unit[] units = it.getImageUnits(); 
     520        Unit[] imageUnits = it.getImageUnits(); 
    521521        try { 
    522522          if (collapse == null) { 
    523523            // use image transform's recommended MathType 
    524524            for (int i=0; i<len; i++) { 
    525               slices[i] = 
    526                 VisUtil.switchType((FlatField) slices[i], imageType, units); 
     525              slices[i] = VisUtil.switchType((FlatField) slices[i], 
     526                imageType, imageUnits); 
    527527            } 
    528528            // compile slices into a single volume and collapse 
Note: See TracChangeset for help on using the changeset viewer.