aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/objects/defcon.py
diff options
context:
space:
mode:
authorLasse Fister2015-10-06 04:54:00 +0200
committerAdrien Tétar2015-10-08 17:46:16 +0200
commit837fa4549c457786a33150082a7528afd3484eaf (patch)
treedbf5e8c3c657681d099147dd15de1b1325196c36 /Lib/defconQt/objects/defcon.py
parent11b7f3d41fbd3140b694643587479e8927b4c019 (diff)
downloadtrufont-837fa4549c457786a33150082a7528afd3484eaf.tar.bz2
first set of fixes to upgrade to ufo_v3
Diffstat (limited to 'Lib/defconQt/objects/defcon.py')
-rw-r--r--Lib/defconQt/objects/defcon.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/defconQt/objects/defcon.py b/Lib/defconQt/objects/defcon.py
index 24f1c8c..51fca47 100644
--- a/Lib/defconQt/objects/defcon.py
+++ b/Lib/defconQt/objects/defcon.py
@@ -38,10 +38,10 @@ class TGlyph(Glyph):
dirty = property(BaseObject._get_dirty, _set_dirty)
class TContour(Contour):
- def __init__(self, pointClass=None):
+ def __init__(self, pointClass=None, **kwargs):
if pointClass is None:
pointClass = TPoint
- super(TContour, self).__init__(pointClass)
+ super(TContour, self).__init__(pointClass=pointClass, **kwargs)
def drawPoints(self, pointPen):
"""
@@ -55,8 +55,8 @@ class TContour(Contour):
class TPoint(Point):
__slots__ = ["_selected"]
- def __init__(self, pt, segmentType=None, smooth=False, name=None, selected=False):
- super(TPoint, self).__init__(pt, segmentType, smooth, name)
+ def __init__(self, pt, selected=False, **kwargs):
+ super(TPoint, self).__init__(pt, **kwargs)
self._selected = selected
def _get_selected(self):