Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-01-26 00:27:00 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-01-26 10:51:39 +0300
commitf7895ab2c945323c5572e761c99a19db788b7579 (patch)
treeaf80fd9f12f13860f12bff44d7ff5fdfa6ede424 /io_import_dxf
parentc034e1968465acb939efc089e63c5c51302947f5 (diff)
Fix T60879: DXF Import: Can't Import Polylines
Diffstat (limited to 'io_import_dxf')
-rw-r--r--io_import_dxf/dxfimport/convert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_dxf/dxfimport/convert.py b/io_import_dxf/dxfimport/convert.py
index 8935480e..f3f4be83 100644
--- a/io_import_dxf/dxfimport/convert.py
+++ b/io_import_dxf/dxfimport/convert.py
@@ -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