diff --git a/light9/web/timeline/Note.coffee b/light9/web/timeline/Note.coffee --- a/light9/web/timeline/Note.coffee +++ b/light9/web/timeline/Note.coffee @@ -31,6 +31,7 @@ class Note originTime = @graph.floatValue(subj, U(':originTime')) for curve in @graph.objects(subj, U(':curve')) + # todo: maybe shoudl be :effectAttr? if @graph.uriValue(curve, U(':attr')).equals(curveAttr) return @project.getCurvePoints(curve, originTime) throw new Error("curve #{@uri.value} has no attr #{curveAttr.value}") diff --git a/light9/web/timeline/Project.coffee b/light9/web/timeline/Project.coffee --- a/light9/web/timeline/Project.coffee +++ b/light9/web/timeline/Project.coffee @@ -52,6 +52,7 @@ class Project quad(newNote, U(':effectClass'), effect) quad(newNote, U(':curve'), newCurve) quad(newCurve, U('rdf:type'), U(':Curve')) + # todo: maybe shoudl be :effectAttr? quad(newCurve, U(':attr'), U(':strength')) ]