Changeset 4928 for branches/1.3


Ignore:
Timestamp:
Jan 14, 2015, 5:49:18 PM (5 years ago)
Author:
ldelgass
Message:

Remove updates from viewer constructors, as this can cause an error in the
init order.

Location:
branches/1.3/gui/scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/vtkglyphviewer.tcl

    r4848 r4928  
    435435    eval itk_initialize $args
    436436    Connect
    437     update
    438437}
    439438
  • branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl

    r4768 r4928  
    466466    EnableWaitDialog 500
    467467    Connect
    468     # FIXME: Removing this update breaks wizard mode (see examples/3D)
    469     # However, it also allows an error in the initialization order
    470     # where FieldResult::add is called from ResultViewer before this
    471     # constructor is completed.
    472     #update
    473468}
    474469
  • branches/1.3/gui/scripts/vtkstreamlinesviewer.tcl

    r4848 r4928  
    453453    eval itk_initialize $args
    454454    Connect
    455     update
    456455}
    457456
     
    950949# ----------------------------------------------------------------------
    951950itcl::body Rappture::VtkStreamlinesViewer::Rebuild {} {
    952     update
    953951    set w [winfo width $itk_component(view)]
    954952    set h [winfo height $itk_component(view)]
  • branches/1.3/gui/scripts/vtkvolumeviewer.tcl

    r4848 r4928  
    425425    eval itk_initialize $args
    426426    Connect
    427     update
    428427}
    429428
     
    915914# ----------------------------------------------------------------------
    916915itcl::body Rappture::VtkVolumeViewer::Rebuild {} {
    917     update
    918916    set w [winfo width $itk_component(view)]
    919917    set h [winfo height $itk_component(view)]
Note: See TracChangeset for help on using the changeset viewer.