a few bugs...
- Nodebox scripts can't have an encoding line
This is annoying if you need utf-8 encoding for your comments and you want to use the scripts in other python environments.
This can be fixed in
in method _compileScript of class NodeBoxDocument by inserting
source = source.encode("utf-8")
after line 2
- drawpath with a recorded path can only be drawn once
to demo this:
# define a path to be re-played
p = endpath(draw=False)
# draw some red lines
# and paint over them with drawpath()
# with color black
# result should be 3 black lines
# but only the first is drawn
for i in range(3):
rotate(360 / 3.0)
# paint a regular line
line(0,0, 100, 0)
# paint over with a recorded
Thanks for the remarks. We're planning on doing a maintenance release for NodeBox 1, and I'll make sure these fixes are in there.