Changeset 4758
- Timestamp:
- Nov 21, 2014, 2:31:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkimageviewer.tcl
r4749 r4758 1030 1030 1031 1031 if {$axis == "z" && [$_first hints ${axis}units] == ""} { 1032 set units [lindex $_fields($_curFldName) 1] 1032 if {$_curFldName != ""} { 1033 set units [lindex $_fields($_curFldName) 1] 1034 } 1033 1035 } else { 1034 1036 set units [$_first hints ${axis}units] … … 1552 1554 # Set the legend on the first image dataset. 1553 1555 if { $_currentColormap != "" && $_currentColormap != "none" } { 1554 SendCmd "legend $_currentColormap scalar $_curFldName {} $w $h 0" 1556 #SendCmd "legend $_currentColormap scalar $_curFldName {} $w $h 0" 1557 SendCmd "legend2 $_currentColormap $w $h" 1555 1558 } 1556 1559 }
Note: See TracChangeset
for help on using the changeset viewer.