aboutsummaryrefslogtreecommitdiff
path: root/guile/starlet/playback.scm
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-01-23 15:26:10 +0100
committerThomas White <taw@physics.org>2022-01-25 20:15:12 +0100
commitc05008529130d03387858725a5ac5778a20fb4b3 (patch)
treed303d55fdf3615ff9d9aa5eff1acb64d41cd2b8b /guile/starlet/playback.scm
parentf06d92522b00a75a40c9ba9ee5a1ee638a0fd199 (diff)
Overlay all of the part transitions before applying to playback
This prevents any individual cue part being visible on stage before the others.
Diffstat (limited to 'guile/starlet/playback.scm')
-rw-r--r--guile/starlet/playback.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/guile/starlet/playback.scm b/guile/starlet/playback.scm
index 906f89c..69fd444 100644
--- a/guile/starlet/playback.scm
+++ b/guile/starlet/playback.scm
@@ -247,7 +247,7 @@
(cue-clock (get-cue-clock the-cue)))
(atomically-overlay-state!
- pb
+ overlay-state
((transition-func (get-transition-effect the-cue))
this-cue-state
cue-clock))
@@ -255,12 +255,13 @@
(for-each
(lambda (cue-part)
(atomically-overlay-state!
- pb
+ overlay-state
((transition-func (get-transition-effect the-cue))
this-cue-state
cue-clock)))
(get-cue-parts the-cue))
+ (atomically-overlay-state! pb overlay-state)
(set-pb-cue-clock! pb cue-clock)
(set-running-cue! pb the-cue)
(reset-clock! cue-clock)