Skip to content

Commit

Permalink
use new API
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed Dec 18, 2023
1 parent 5e49907 commit 61afe36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ItalicExtremes.glyphsFilter/Contents/Resources/plugin.py
Expand Up @@ -171,7 +171,7 @@ def get_pathTime_for_angle(layer, pathIdx, nodeIdx, pathTime, inputAngle):
p2 = path.nodes[idx - 2].position
p3 = path.nodes[idx - 1].position
p4 = node.position
allTs = GSExtremTimesOfBezier(p1, p2, p3, p4, None, None, None, None)
allTs = GSExtremeTimesOfBezier(p1, p2, p3, p4, None, None, None, None)
Ts = [x for x in allTs if x < 1]
if len(Ts) > 0:
pathTime = idx + Ts[0]
Expand Down

0 comments on commit 61afe36

Please sign in to comment.