Ignore:
Timestamp:
Mar 8, 2015 1:08:46 AM (5 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/nanovisviewer.tcl

    r4989 r5092  
    899899    set h [winfo height $itk_component(3dview)]
    900900    if { $w < 2 || $h < 2 } {
     901        update
    901902        $_dispatcher event -idle !rebuild
    902903        return
Note: See TracChangeset for help on using the changeset viewer.