Ignore:
Timestamp:
Mar 8, 2015 1:08:46 AM (6 years ago)
Author:
ldelgass
Message:

Add update in Rebuild to allow initial canvas size to be set. We don't want to
do this in the constructor since that can cause an error when the add method is
called before the constructor returns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r5068 r5092  
    990990    set w [winfo width $itk_component(view)]
    991991    set h [winfo height $itk_component(view)]
    992 
    993992    if { $w < 2 || $h < 2 } {
     993        update
    994994        $_dispatcher event -idle !rebuild
    995995        return
Note: See TracChangeset for help on using the changeset viewer.