Changeset 5172 for branches/1.4/gui/scripts/vtkisosurfaceviewer.tcl
- Timestamp:
- Mar 29, 2015, 7:51:30 PM (9 years ago)
- Location:
- branches/1.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4
-
branches/1.4/gui/scripts/vtkisosurfaceviewer.tcl
r5143 r5172 149 149 private variable _changed 150 150 private variable _initialStyle; # Array of initial component styles. 151 private variable _reset 1; # indicates if camera needs to be reset 152 # to starting position. 151 private variable _reset 1; # Connection to server has been reset. 153 152 154 153 private variable _first "" ; # This is the topmost dataset. … … 881 880 return 0 882 881 } 882 set _reset 1 883 883 set result [VisViewer::Connect $_hosts] 884 884 if { $result } { … … 1139 1139 Zoom reset 1140 1140 foreach axis { x y z } { 1141 # Another problem fixed by a <view>. We looking into a data1142 # object for the name of the axes. This should be global to1143 # the viewer itself.1144 set label [$_first hints ${axis}label]1141 set label "" 1142 if { $_first != "" } { 1143 set label [$_first hints ${axis}label] 1144 } 1145 1145 if { $label == "" } { 1146 1146 set label [string toupper $axis]
Note: See TracChangeset
for help on using the changeset viewer.