another arc fix

This commit is contained in:
Jan Petykiewicz 2023-10-27 23:31:22 -07:00
parent 55e3066485
commit 7f927c46b3

View File

@ -245,7 +245,11 @@ class Arc(Shape):
start = next_to_keep + 1
if keep[-1] != thetas.size - 1:
keep.append(thetas.size - 1)
return thetas[keep]
thetas = thetas[keep]
if inner:
thetas = thetas[::-1]
return thetas
wh = self.width / 2.0
if wh == r0 or wh == r1: