Bug in bug python recording for glyphs
There appears to be a bug in the python code that gets recorded for glyphs:
The setting of the 2D glyph subtype appears before the change to the overall glyph type to select "2D Glyph" happens.
I.e. recording with the bug: ...
# Properties modified on glyph1.GlyphType
glyph1.GlyphType.GlyphType = 'Vertex'
# Properties modified on glyph1
glyph1.GlyphType = '2D Glyph'
# Properties modified on glyph1.GlyphType
glyph1.GlyphType.GlyphType = 'Vertex'
...
And a hand fixed version: ...
# Properties modified on glyph1.GlyphType
#glyph1.GlyphType.GlyphType = 'Vertex'
# Properties modified on glyph1
glyph1.GlyphType = '2D Glyph'
# Properties modified on glyph1.GlyphType
glyph1.GlyphType.GlyphType = 'Vertex'
Thanks to David DeMarle for figuring out that this was a bug.
Karl