# HG changeset patch # User drewp@bigasterisk.com # Date 1339810310 0 # Node ID f22f925442a223e7280a3b3d88ce04d90c73aa8a # Parent 668e9e37d5e3edaea8fea2ac649e8afdfa53562c reformat Ignore-this: 879b21c85840ff90adea174b198bee21 diff -r 668e9e37d5e3 -r f22f925442a2 bin/curvecalc --- a/bin/curvecalc Sat Jun 16 01:19:51 2012 +0000 +++ b/bin/curvecalc Sat Jun 16 01:31:50 2012 +0000 @@ -97,7 +97,7 @@ except SubtermExists: pass curveView = self.curvesetView.row(subName).curveView - t = self.lastSeenInputTime # curveView.current_time() # new curve hasn't heard the time yet + t = self.lastSeenInputTime # curveView.current_time() # new curve hasn't heard the time yet. this has gotten too messy- everyone just needs to be able to reach the time source print "time", t curveView.add_point((t - .5, 0)) curveView.add_point((t, 1)) diff -r 668e9e37d5e3 -r f22f925442a2 light9/curvecalc/curveview.py --- a/light9/curvecalc/curveview.py Sat Jun 16 01:19:51 2012 +0000 +++ b/light9/curvecalc/curveview.py Sat Jun 16 01:31:50 2012 +0000 @@ -77,7 +77,8 @@ draws itself on the canvas and edits the points when you drag various parts """ - def __init__(self, parent, getSelectedIndices, getWorldPoint, getScreenPoint, getCanvasSize, setPoints, getWorldTime, getWorldValue, getDragRange): + def __init__(self, parent, getSelectedIndices, getWorldPoint, getScreenPoint, + getCanvasSize, setPoints, getWorldTime, getWorldValue, getDragRange): """parent goocanvas group""" self.getSelectedIndices = getSelectedIndices self.getWorldPoint = getWorldPoint @@ -89,7 +90,8 @@ self.getWorldValue = getWorldValue self.grp = goocanvas.Group(parent=parent) - self.title = goocanvas.Text(parent=self.grp, text="selectmanip", x=10, y=10, fill_color='white', font="ubuntu 10") + self.title = goocanvas.Text(parent=self.grp, text="selectmanip", + x=10, y=10, fill_color='white', font="ubuntu 10") self.bbox = goocanvas.Rect(parent=self.grp, fill_color_rgba=0xffff0030,