Changeset 2872 for trunk


Ignore:
Timestamp:
Mar 21, 2012 11:58:15 AM (12 years ago)
Author:
ldelgass
Message:

Partial fix for bug that caused default transfer function to be assigned to
a volume when a different transfer function was requested. _style2vols array
contains a list of data objects that use a given transfer function name, but
ComputeTransferFunc? was treating the array as if there was only a single
hyphenated object/component name. There is a still a problem that transfer
function names don't take markers into account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/nanovisviewer.tcl

    r2744 r2872  
    13221322        -opacity 1.0
    13231323    }
    1324     foreach {dataobj comp} [split $_style2vols($tf) -] break
     1324    foreach {dataobj comp} [split [lindex $_style2vols($tf) 0] -] break
    13251325    array set style [lindex [$dataobj components -style $comp] 0]
    13261326
Note: See TracChangeset for help on using the changeset viewer.