Changeset 6235


Ignore:
Timestamp:
Apr 3, 2016 10:51:36 AM (8 years ago)
Author:
ldelgass
Message:

remove unused global setting

Location:
trunk/gui/scripts
Files:
7 edited

Legend:

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

    r6202 r6235  
    554554}
    555555
    556 set rotate_delay 100
    557 
    558556itcl::body Rappture::VtkGlyphViewer::EventuallyRotate { q } {
    559557    QuaternionToView $q
    560558    if { !$_rotatePending } {
    561559        set _rotatePending 1
    562         global rotate_delay
    563         $_dispatcher event -after $rotate_delay !rotate
     560        $_dispatcher event -after 100 !rotate
    564561    }
    565562}
  • trunk/gui/scripts/vtkheightmapviewer.tcl

    r6202 r6235  
    453453}
    454454
    455 set rotate_delay 100
    456 
    457455itcl::body Rappture::VtkHeightmapViewer::EventuallyRotate { q } {
    458456    QuaternionToView $q
    459457    if { !$_rotatePending } {
    460458        set _rotatePending 1
    461         global rotate_delay
    462         $_dispatcher event -after $rotate_delay !rotate
     459        $_dispatcher event -after 100 !rotate
    463460    }
    464461}
  • trunk/gui/scripts/vtkimageviewer.tcl

    r6202 r6235  
    443443}
    444444
    445 set rotate_delay 100
    446 
    447445itcl::body Rappture::VtkImageViewer::EventuallyRotate { q } {
    448446    QuaternionToView $q
    449447    if { !$_rotatePending } {
    450448        set _rotatePending 1
    451         global rotate_delay
    452         $_dispatcher event -after $rotate_delay !rotate
     449        $_dispatcher event -after 100 !rotate
    453450    }
    454451}
  • trunk/gui/scripts/vtkisosurfaceviewer.tcl

    r6202 r6235  
    572572}
    573573
    574 set rotate_delay 100
    575 
    576574itcl::body Rappture::VtkIsosurfaceViewer::EventuallyRotate { q } {
    577575    QuaternionToView $q
    578576    if { !$_rotatePending } {
    579577        set _rotatePending 1
    580         global rotate_delay
    581         $_dispatcher event -after $rotate_delay !rotate
     578        $_dispatcher event -after 100 !rotate
    582579    }
    583580}
     
    595592    if { !$_contourList(updatePending) } {
    596593        set _contourList(updatePending) 1
    597         global rotate_delay
    598         $_dispatcher event -after $rotate_delay !contours
     594        $_dispatcher event -after 100 !contours
    599595    }
    600596}
  • trunk/gui/scripts/vtkstreamlinesviewer.tcl

    r6202 r6235  
    496496}
    497497
    498 set rotate_delay 100
    499 
    500498itcl::body Rappture::VtkStreamlinesViewer::EventuallyRotate { q } {
    501499    QuaternionToView $q
    502500    if { !$_rotatePending } {
    503501        set _rotatePending 1
    504         global rotate_delay
    505         $_dispatcher event -after $rotate_delay !rotate
     502        $_dispatcher event -after 100 !rotate
    506503    }
    507504}
  • trunk/gui/scripts/vtksurfaceviewer.tcl

    r6202 r6235  
    444444}
    445445
    446 set rotate_delay 100
    447 
    448446itcl::body Rappture::VtkSurfaceViewer::EventuallyRotate { q } {
    449447    QuaternionToView $q
    450448    if { !$_rotatePending } {
    451449        set _rotatePending 1
    452         global rotate_delay
    453         $_dispatcher event -after $rotate_delay !rotate
     450        $_dispatcher event -after 100 !rotate
    454451    }
    455452}
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r6202 r6235  
    497497}
    498498
    499 set rotate_delay 100
    500 
    501499itcl::body Rappture::VtkVolumeViewer::EventuallyRotate { q } {
    502500    QuaternionToView $q
    503501    if { !$_rotatePending } {
    504502        set _rotatePending 1
    505         global rotate_delay
    506         $_dispatcher event -after $rotate_delay !rotate
     503        $_dispatcher event -after 100 !rotate
    507504    }
    508505}
Note: See TracChangeset for help on using the changeset viewer.