Changeset 5219 for branches/1.3/gui/scripts/vtksurfaceviewer.tcl
- Timestamp:
- Apr 14, 2015 2:28:08 PM (9 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/gui/scripts/vtksurfaceviewer.tcl
r5217 r5219 132 132 private variable _changed 133 133 private variable _initialStyle; # Array of initial component styles. 134 private variable _reset 1; # indicates if camera needs to be reset 135 # to starting position. 134 private variable _reset 1; # Connection to server has been reset. 136 135 137 136 private variable _first "" ; # This is the topmost dataset. … … 727 726 return 0 728 727 } 728 set _reset 1 729 729 set result [VisViewer::Connect $_hosts] 730 730 if { $result } { … … 979 979 Zoom reset 980 980 foreach axis { x y z } { 981 # Another problem fixed by a <view>. We looking into a data982 # object for the name of the axes. This should be global to983 # the viewer itself.984 set label [$_first hints ${axis}label]981 set label "" 982 if { $_first != "" } { 983 set label [$_first hints ${axis}label] 984 } 985 985 if { $label == "" } { 986 986 set label [string toupper $axis]
Note: See TracChangeset
for help on using the changeset viewer.