summaryrefslogtreecommitdiffstats
path: root/ds9
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-11-08 19:13:52 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-11-08 19:13:52 (GMT)
commit50bf2c8ef50345a11e3fc301873a295c581fd61a (patch)
tree06b073c468d482bb60f16648fb5ea6e85e10f6c8 /ds9
parent3a2105375b049fecb7146e7683da095589b64178 (diff)
downloadblt-50bf2c8ef50345a11e3fc301873a295c581fd61a.zip
blt-50bf2c8ef50345a11e3fc301873a295c581fd61a.tar.gz
blt-50bf2c8ef50345a11e3fc301873a295c581fd61a.tar.bz2
mask backward compatibility
Diffstat (limited to 'ds9')
-rw-r--r--ds9/library/mask.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/ds9/library/mask.tcl b/ds9/library/mask.tcl
index 60f3152..f04982b 100644
--- a/ds9/library/mask.tcl
+++ b/ds9/library/mask.tcl
@@ -28,6 +28,8 @@ proc MaskMark {} {
if {$current(frame) != {}} {
$current(frame) mask mark $mask(mark)
+ # for backward compatibility
+ set mask(mark) [$current(frame) get mask mark]
}
}