summaryrefslogtreecommitdiffstats
path: root/ds9/library/frame.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-08-22 18:35:58 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-08-22 18:35:58 (GMT)
commit4b69d43161c8b6b8fe6493d50d965a90c5e58b88 (patch)
tree4603f05d3192c215e92fa5aaf93af1db64f1beb4 /ds9/library/frame.tcl
parent2ce2cfcf340128b8c14f335581ec9819352fd7af (diff)
downloadblt-4b69d43161c8b6b8fe6493d50d965a90c5e58b88.zip
blt-4b69d43161c8b6b8fe6493d50d965a90c5e58b88.tar.gz
blt-4b69d43161c8b6b8fe6493d50d965a90c5e58b88.tar.bz2
clean up code
Diffstat (limited to 'ds9/library/frame.tcl')
-rw-r--r--ds9/library/frame.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ds9/library/frame.tcl b/ds9/library/frame.tcl
index 8aa265c..ca4ca62 100644
--- a/ds9/library/frame.tcl
+++ b/ds9/library/frame.tcl
@@ -66,6 +66,7 @@ proc CreateNameNumberFrame {which type} {
global pmagnifier
global bin
global wcs
+ global rgb
global colorbar
global scale
global minmax
@@ -149,8 +150,8 @@ proc CreateNameNumberFrame {which type} {
# Frame type items
switch -- [$ds9(next) get type] {
- base -
- rgb {}
+ base {}
+ rgb {$ds9(next) rgb system $rgb(system)}
3d {
$ds9(next) 3d method $pthreed(method)
$ds9(next) 3d background $pthreed(background)
@@ -1925,7 +1926,6 @@ proc FrameToFront {} {
}
UpdateGraphLayout $which
-
UpdateDS9
}