Suspend parameter automation during live control

This commit is contained in:
Your Name 2026-10-01 12:40:50 -04:00
parent 0a53157b7e
commit 4ddd6a8d1d

View file

@ -46,8 +46,13 @@
(let [c (:clip (footage/entry id))]
(or (when-let [{:keys [path df]} sliding]
(:clip (nest/slide c open path df)))
(when-let [{:keys [sid id frame values auto-key?]} gesture]
(when c (gesture/apply-values c sid id frame values auto-key?)))
(when-let [{:keys [sid id frame values]} gesture]
;; A held stage control owns the touched parameters completely. Make
;; them temporary static channels for the preview, so their existing
;; automation cannot pull against the pointer while the performance
;; recorder samples the live value in the background. Pointer-up
;; removes this preview and commits the buffered take as real keys.
(when c (gesture/apply-values c sid id frame values false)))
c))))
(rf/reg-sub