From 0cb1a908bfdfa2cff5be74b08ce2d6eadfe4533b Mon Sep 17 00:00:00 2001 From: Frederik Berlaen Date: Tue, 24 Mar 2020 13:45:52 +0100 Subject: [PATCH] Update __init__.py fixes #29 --- Lib/ufoProcessor/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/ufoProcessor/__init__.py b/Lib/ufoProcessor/__init__.py index adacc5c..090df69 100644 --- a/Lib/ufoProcessor/__init__.py +++ b/Lib/ufoProcessor/__init__.py @@ -328,9 +328,9 @@ def _getAxisOrder(self): return [a.name for a in self.axes] axisOrder = property(_getAxisOrder, doc="get the axis order from the axis descriptors") - + serializedAxes = property(getSerializedAxes, doc="a list of dicts with the axis values") - + def getVariationModel(self, items, axes, bias=None): # Return either a mutatorMath or a varlib.model object for calculating. try: @@ -864,8 +864,8 @@ def isAnisotropic(self, location): return False def splitAnisotropic(self, location): - x = {} - y = {} + x = Location() + y = Location() for dim, val in location.items(): if type(val)==tuple: x[dim] = val[0]