Mercurial > code > home > repos > light9
comparison bin/curvecalc @ 759:f22f925442a2
reformat
Ignore-this: 879b21c85840ff90adea174b198bee21
author | drewp@bigasterisk.com |
---|---|
date | Sat, 16 Jun 2012 01:31:50 +0000 |
parents | 5f384443e3ed |
children | 634e8a3ebd0a |
comparison
equal
deleted
inserted
replaced
758:668e9e37d5e3 | 759:f22f925442a2 |
---|---|
95 try: | 95 try: |
96 self.makeSubterm(subName, withCurve=True) | 96 self.makeSubterm(subName, withCurve=True) |
97 except SubtermExists: | 97 except SubtermExists: |
98 pass | 98 pass |
99 curveView = self.curvesetView.row(subName).curveView | 99 curveView = self.curvesetView.row(subName).curveView |
100 t = self.lastSeenInputTime # curveView.current_time() # new curve hasn't heard the time yet | 100 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 |
101 print "time", t | 101 print "time", t |
102 curveView.add_point((t - .5, 0)) | 102 curveView.add_point((t - .5, 0)) |
103 curveView.add_point((t, 1)) | 103 curveView.add_point((t, 1)) |
104 | 104 |
105 | 105 |