Changeset 3966 for trunk/gui/scripts/vtkisosurfaceviewer.tcl
- Timestamp:
- Sep 30, 2013 6:29:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r3963 r3966 2117 2117 } 2118 2118 array set style [$dataobj style $comp] 2119 if { $dataobj != $_first } {2119 if { $dataobj != $_first || $style(-levels) == 1 } { 2120 2120 set style(-opacity) 1 2121 }2122 if { $_currentColormap == "" } {2123 set stylelist [$dataobj style $comp]2124 if { $stylelist != "" } {2125 array set style $stylelist2126 set stylelist [array get style]2127 SetCurrentColormap $stylelist2128 }2129 $itk_component(colormap) value $style(-color)2130 2121 } 2131 2122 SendCmd "cutplane add $tag" … … 2151 2142 } 2152 2143 if { $_currentColormap == "" } { 2144 SetCurrentColormap $style(-color) 2153 2145 $itk_component(colormap) value $style(-color) 2154 2146 } … … 2497 2489 set _currentColormap $name 2498 2490 SendCmd "contour3d colormap $_currentColormap" 2491 SendCmd "cutplane colormap $_currentColormap" 2499 2492 } 2500 2493
Note: See TracChangeset
for help on using the changeset viewer.