Removed the weird glyph.getGlyph(glyphName) method.
git-svn-id: http://svn.robofab.com/branches/ufo3k@537 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
This commit is contained in:
parent
75f3ef6bbe
commit
2046f68815
@ -554,14 +554,6 @@ class BaseGlyph(RBaseObject):
|
||||
pass
|
||||
return "<RGlyph for %s.%s>" %(font, glyph)
|
||||
|
||||
def getGlyph(self, glyphName):
|
||||
"""Provided there is a font parent for this glyph, return a sibling glyph."""
|
||||
if glyphName == self.name:
|
||||
return self
|
||||
if self.getParent() is not None:
|
||||
return self.getParent()[glyphName]
|
||||
return None
|
||||
|
||||
def _saveToGlyphSet(self, glyphSet, glyphName=None, force=False):
|
||||
"""Save the glyph to GlyphSet, a private method that's part of the saving process."""
|
||||
# save stuff in the lib first
|
||||
|
Loading…
x
Reference in New Issue
Block a user