summaryrefslogtreecommitdiffstats
path: root/ds9/library/mask.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/mask.tcl')
-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]
}
}