diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-12-17 22:15:21 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-12-17 22:15:21 (GMT) |
commit | 6ba9fa3eceaaa4ada5482655046bf9ea02ef40e4 (patch) | |
tree | a7836e88aca69295b0a1552e1fd4ef7057aba7e5 /ds9 | |
parent | 4609bee052737481db02f409d4a3d925af9ba708 (diff) | |
download | blt-6ba9fa3eceaaa4ada5482655046bf9ea02ef40e4.zip blt-6ba9fa3eceaaa4ada5482655046bf9ea02ef40e4.tar.gz blt-6ba9fa3eceaaa4ada5482655046bf9ea02ef40e4.tar.bz2 |
3D: simply cache to be more reliable
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/doc/release/r8.2.html | 1 | ||||
-rw-r--r-- | ds9/library/movie.tcl | 4 | ||||
-rw-r--r-- | ds9/library/util.tcl | 5 |
3 files changed, 4 insertions, 6 deletions
diff --git a/ds9/doc/release/r8.2.html b/ds9/doc/release/r8.2.html index 1f79323..bf339e2 100644 --- a/ds9/doc/release/r8.2.html +++ b/ds9/doc/release/r8.2.html @@ -19,6 +19,7 @@ <li><tt>12.17.2019 MOVIE: 3D movies can now be in single mode or in tile mode.</tt></li> <li><tt>12.17.2019 MOVIE: fix parser call for "3d gif foo.gif opts".</tt></li> <li><tt>12.17.2019 MOVIE: 3D movies can now change in zoom.</tt></li> +<li><tt>12.17.2019 3D: simply cache to be more reliable.</tt></li> <li><tt><b>xx.xx.2020 RELEASE version 8.2b1</b></tt></li> </ol> </div> diff --git a/ds9/library/movie.tcl b/ds9/library/movie.tcl index b22962d..c1d2e47 100644 --- a/ds9/library/movie.tcl +++ b/ds9/library/movie.tcl @@ -383,7 +383,7 @@ proc MoviePhotoMPEG {} { # yes, we need this UpdateDS9 - RealizeDS9 1 + RealizeDS9 set rr [catch {image create photo -format window -data $ds9(canvas)} ph] if {$rr} { @@ -412,7 +412,7 @@ proc MoviePhotoGIF {} { # yes, we need this UpdateDS9 - RealizeDS9 1 + RealizeDS9 set rr [catch {image create photo -format window -data $ds9(canvas)} ph] if {$rr} { diff --git a/ds9/library/util.tcl b/ds9/library/util.tcl index c8159df..328ed5c 100644 --- a/ds9/library/util.tcl +++ b/ds9/library/util.tcl @@ -700,7 +700,7 @@ proc ProcessRealizeDS9 {} { } } -proc RealizeDS9 {{preserve 0}} { +proc RealizeDS9 {} { # this has to come first, to realize the canvas global debug if {$debug(tcl,idletasks)} { @@ -710,9 +710,6 @@ proc RealizeDS9 {{preserve 0}} { # update all frames global ds9 foreach ff $ds9(frames) { - if {$preserve} { - $ff 3d preserve - } $ff update now } |