Changeset 438 for trunk/loci/visbio/view


Ignore:
Timestamp:
06/08/05 11:55:16 (15 years ago)
Author:
curtis
Message:

Use new VisUtil.makeField signature with set unit.

File:
1 edited

Legend:

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

    r437 r438  
    519519        FunctionType imageType = it.getType(); 
    520520        Unit[] imageUnits = it.getImageUnits(); 
     521        Unit zUnit = it.getZUnit(stackAxis); 
    521522        try { 
    522523          if (collapse == null) { 
     
    528529            // compile slices into a single volume and collapse 
    529530            collapse = VisUtil.collapse( 
    530               VisUtil.makeField(slices, zType, 0, len - 1)); 
     531              VisUtil.makeField(slices, zType, 0, len - 1, zUnit)); 
    531532            cache.putData(trans, pos, "collapse", collapse); 
    532533          } 
Note: See TracChangeset for help on using the changeset viewer.