Suspend parameter automation during live control
This commit is contained in:
parent
0a53157b7e
commit
4ddd6a8d1d
1 changed files with 7 additions and 2 deletions
|
|
@ -46,8 +46,13 @@
|
||||||
(let [c (:clip (footage/entry id))]
|
(let [c (:clip (footage/entry id))]
|
||||||
(or (when-let [{:keys [path df]} sliding]
|
(or (when-let [{:keys [path df]} sliding]
|
||||||
(:clip (nest/slide c open path df)))
|
(:clip (nest/slide c open path df)))
|
||||||
(when-let [{:keys [sid id frame values auto-key?]} gesture]
|
(when-let [{:keys [sid id frame values]} gesture]
|
||||||
(when c (gesture/apply-values c sid id frame values auto-key?)))
|
;; 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))))
|
c))))
|
||||||
|
|
||||||
(rf/reg-sub
|
(rf/reg-sub
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue