robofab-developers/robofab — pull request #13 by anthrotype (2014-06-03 11:54:32+00:00)
Title: 'node' undefined - use 'newNode' instead

There's a small typo in `insertSegment` from `objectFL.RContour`, which raises a `NameError` exception when one tries to insert a segment inside a FLS contour with the 'smooth' flag enabled:

Traceback (most recent call last):
File "", line 10, in ?
File "C:\UsersLocal\cosimo.lupo\Documents\GitHub\robofab\Lib\robofab\objects\objectsFL.py", line 1851, in insertSegment
node.alignment = flSMOOTH
NameError: global name 'node' is not defined