Mercurial > code > home > repos > light9
changeset 1588:9b46e38e2b0f
lightsample is now draggable into timeline
Ignore-this: 8bf3fcacfbf069383a6312d8f4d64854
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Wed, 31 May 2017 05:29:41 +0000 |
parents | 2c973af2b13e |
children | 21a52ce16954 |
files | light9/web/timeline/timeline.coffee |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/web/timeline/timeline.coffee Tue May 30 08:54:24 2017 +0000 +++ b/light9/web/timeline/timeline.coffee Wed May 31 05:29:41 2017 +0000 @@ -316,7 +316,10 @@ quads.push(quad(effect, U(':setting'), ts)) quads.push(quad(ts, U(':device'), @graph.uriValue(fs, U(':device')))) quads.push(quad(ts, U(':deviceAttr'), @graph.uriValue(fs, U(':deviceAttr')))) - quads.push(quad(ts, U(':value'), @graph.uriValue(fs, U(':value')))) + try + quads.push(quad(ts, U(':value'), @graph.uriValue(fs, U(':value')))) + catch + quads.push(quad(ts, U(':scaledValue'), @graph.uriValue(fs, U(':scaledValue')))) @graph.applyAndSendPatch({delQuads: [], addQuads: quads}) return effect