Fix T60879: DXF Import: Can't Import Polylines

This commit is contained in:
Philipp Oeser 2019-01-25 22:27:00 +01:00
parent c034e19684
commit f7895ab2c9
Notes: blender-bot 2023-02-14 19:21:03 +01:00
Referenced by issue #60879, Import DXF - Can't Import Polylines
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def bulge_to_arc(point, next, bulge):
cosagitta_len = sagitta_len - radius
direction *= -1
correction *= -1
center = point + section / 2 + section.normalized() * cosagitta_len * rot * direction
center = point + section / 2 + section.normalized() * cosagitta_len * direction @ rot
cp = point - center
cn = next - center
cr = cp.to_3d().cross(cn.to_3d()) * correction