-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
This is really odd, I was using nodebox-opengl just a couple of days ago, but now if I try and use oval it dies
<ipython-input-3-576dd2e08d01> in <module>()
----> 1 oval(245.0, 784.0, 8, 8)
/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/NodeBox_for_OpenGL-1.7-py2.7.egg/nodebox/graphics/context.pyc in ellipse(x, y, width, height, segments, **kwargs)
631 commands = []
632 f = 2 * pi / segments
--> 633 v = [(cos(t)/2, sin(t)/2) for t in [i*f for i in range(segments)+[0]]]
634 for mode in (GL_TRIANGLE_FAN, GL_LINE_LOOP):
635 commands.append(precompile(lambda:(
TypeError: unsupported operand type(s) for +: 'newrange' and 'list'
Metadata
Metadata
Assignees
Labels
No labels