DoveTailEdge: Fix edge without dove tails
This commit is contained in:
parent
260633d9cd
commit
5810314331
|
@ -1984,6 +1984,10 @@ class DoveTailJoint(BaseEdge):
|
|||
sections = int((length) // (s.size * 2))
|
||||
leftover = length - sections * s.size * 2
|
||||
|
||||
if sections == 0:
|
||||
self.edge(length)
|
||||
return
|
||||
|
||||
p = 1 if positive else -1
|
||||
|
||||
self.edge((s.size + leftover) / 2.0 + diffx - l1, tabs=1)
|
||||
|
|
Loading…
Reference in New Issue