diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-11-29 20:40:36 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-11-29 20:40:36 (GMT) |
commit | 88e89bb5360cd136fe6adc5e2acd4c0cab63937b (patch) | |
tree | 2bb7c49ccca53dee240f4b25cc1cc712e6bf82c6 /ds9/library/marker.tcl | |
parent | 0d8f331b170e7ef0b795dee958e439acea146688 (diff) | |
download | blt-88e89bb5360cd136fe6adc5e2acd4c0cab63937b.zip blt-88e89bb5360cd136fe6adc5e2acd4c0cab63937b.tar.gz blt-88e89bb5360cd136fe6adc5e2acd4c0cab63937b.tar.bz2 |
enable/disable buttons if no frame
Diffstat (limited to 'ds9/library/marker.tcl')
-rw-r--r-- | ds9/library/marker.tcl | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ds9/library/marker.tcl b/ds9/library/marker.tcl index a696df0..38dfb0d 100644 --- a/ds9/library/marker.tcl +++ b/ds9/library/marker.tcl @@ -1247,26 +1247,6 @@ proc MarkerSave {} { } } -proc MarkerMask {} { - global current - - if {$current(frame) == {}} { - return - } - if {![$current(frame) has fits]} { - return - } - - if {[MaskParamsDialog]} { - $current(frame) mask color $mask(color) - $current(frame) mask mark $mask(mark) - $current(frame) mask range $mask(low) $mask(high) - $current(frame) mask system $mask(system) - - $current(frame) marker create mask - } -} - proc MarkerInfo {} { global current global marker |