Ignore:
Timestamp:
Mar 29, 2015, 7:51:30 PM (9 years ago)
Author:
ldelgass
Message:

merge r5156 from trunk

Location:
branches/1.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4

    • Property svn:mergeinfo changed
      /trunkmerged: 5156
  • branches/1.4/gui/scripts/vtkisosurfaceviewer.tcl

    r5143 r5172  
    149149    private variable _changed
    150150    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.
    153152
    154153    private variable _first ""     ;    # This is the topmost dataset.
     
    881880        return 0
    882881    }
     882    set _reset 1
    883883    set result [VisViewer::Connect $_hosts]
    884884    if { $result } {
     
    11391139        Zoom reset
    11401140        foreach axis { x y z } {
    1141             # Another problem fixed by a <view>. We looking into a data
    1142             # object for the name of the axes. This should be global to
    1143             # the viewer itself.
    1144             set label [$_first hints ${axis}label]
     1141            set label ""
     1142            if { $_first != "" } {
     1143                set label [$_first hints ${axis}label]
     1144            }
    11451145            if { $label == "" } {
    11461146                set label [string toupper $axis]
Note: See TracChangeset for help on using the changeset viewer.