Changeset 4642


Ignore:
Timestamp:
Oct 3, 2014, 12:59:08 PM (5 years ago)
Author:
ldelgass
Message:

Fix error on reset

Location:
trunk/gui/scripts
Files:
5 edited

Legend:

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

    r4454 r4642  
    10611061        }
    10621062        if { [array size _fields] < 2 } {
    1063             blt::table forget $itk_component(field) $itk_component(field_l)
     1063            catch {blt::table forget $itk_component(field) $itk_component(field_l)}
    10641064        }
    10651065        set _reset 0
  • trunk/gui/scripts/vtkheightmapviewer.tcl

    r4437 r4642  
    10911091            -numisolines
    10921092        if { [array size _fields] < 2 } {
    1093             blt::table forget $itk_component(field) $itk_component(field_l)
     1093            catch {blt::table forget $itk_component(field) $itk_component(field_l)}
    10941094        }
    10951095        RequestLegend
  • trunk/gui/scripts/vtkimageviewer.tcl

    r4441 r4642  
    10591059            axisVisible axisLabels field view3D
    10601060        if { [array size _fields] < 2 } {
    1061             blt::table forget $itk_component(field) $itk_component(field_l)
     1061            catch {blt::table forget $itk_component(field) $itk_component(field_l)}
    10621062        }
    10631063        RequestLegend
  • trunk/gui/scripts/vtkisosurfaceviewer.tcl

    r4638 r4642  
    11101110        }
    11111111        if { [array size _fields] < 2 } {
    1112             blt::table forget $itk_component(field) $itk_component(field_l)
     1112            catch {blt::table forget $itk_component(field) $itk_component(field_l)}
    11131113        }
    11141114        set _reset 0
  • trunk/gui/scripts/vtksurfaceviewer.tcl

    r4537 r4642  
    10071007        }
    10081008        if { [array size _fields] < 2 } {
    1009             blt::table forget $itk_component(field) $itk_component(field_l)
     1009            catch {blt::table forget $itk_component(field) $itk_component(field_l)}
    10101010        }
    10111011        set _reset 0
Note: See TracChangeset for help on using the changeset viewer.