Changeset 5077
- Timestamp:
- Mar 5, 2015 12:59:47 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkisosurfaceviewer.tcl
r5071 r5077 3126 3126 } 3127 3127 $itk_component(field) value $_curFldLabel 3128 if { ![info exists _limits($_curFldName)] } { 3129 SendCmd "dataset maprange all" 3130 } else { 3131 set limits $_limits($_curFldName) 3128 if { $_settings(-customrange) } { 3129 set limits [list [$itk_component(min) value] [$itk_component(max) value]] 3132 3130 SendCmd "dataset maprange explicit $limits $_curFldName" 3133 3131 if { $limits != $_currentLimits } { … … 3135 3133 EventuallyChangeContourLevels 3136 3134 } 3137 } 3138 } 3135 } else { 3136 if { ![info exists _limits($_curFldName)] } { 3137 SendCmd "dataset maprange all" 3138 } else { 3139 set limits $_limits($_curFldName) 3140 SendCmd "dataset maprange explicit $limits $_curFldName" 3141 if { $limits != $_currentLimits } { 3142 set _currentLimits $limits 3143 EventuallyChangeContourLevels 3144 } 3145 } 3146 } 3147 }
Note: See TracChangeset
for help on using the changeset viewer.