diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-03-18 13:35:38 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-03-18 13:36:01 +0300 |
commit | 60c98c332423734d82f197b2f2d43023fb5794ba (patch) | |
tree | a2eef48cbb00fad99bad35e2007f5079e7d1f34c /io_import_dxf | |
parent | ff29dc782b42701ee11c0e6ed320422684ecbee6 (diff) |
DXF Import: fix importing circles incorrectly when unit scale is used
followup to rBA83f7e2473b7a where scaling of points was fixed (but
actually did it on the center as well -- which led to incorrect results
if center was not at the origin)
Fixes T62585
Diffstat (limited to 'io_import_dxf')
-rw-r--r-- | io_import_dxf/dxfimport/do.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_dxf/dxfimport/do.py b/io_import_dxf/dxfimport/do.py index 487e4001..1ba3219a 100644 --- a/io_import_dxf/dxfimport/do.py +++ b/io_import_dxf/dxfimport/do.py @@ -395,7 +395,7 @@ class Do: b[i].handle_left_type = 'AUTO' b[i].handle_right_type = 'AUTO' - vc = self.proj(en.center) + vc = Vector(en.center) clockwise = Matrix(((0, -1, 0), (1, 0, 0), (0, 0, 1))) r = major |