We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50530fa commit 2af9448Copy full SHA for 2af9448
1 file changed
source/lib/batchGenerators/variableFontsGenerator/__init__.py
@@ -279,11 +279,9 @@ def makeMasterOnDefaultLocation(self):
279
self.report.indent()
280
# there is no master at the default location
281
# change the defaults of each axis so it fits with a given master
282
- defaulSource = self.operator.findDefault()
283
- neutralLocation = defaulSource.location
284
for axis in self.operator.axes:
285
- axis.default = axis.map_backward(neutralLocation[axis.name])
286
- self.report.writeDict(neutralLocation)
+ axis.default = axis.map_backward(defaultLocation[axis.name])
+ self.report.writeDict(defaultLocation)
287
self.report.dedent()
288
self.report.newLine()
289
0 commit comments