You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
stuaxo
added a commit
to stuaxo/nodebox-opengl
that referenced
this issue
Nov 14, 2015
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
The text was updated successfully, but these errors were encountered: