From 60c98c332423734d82f197b2f2d43023fb5794ba Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Mon, 18 Mar 2019 11:35:38 +0100 Subject: 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 --- io_import_dxf/dxfimport/do.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_import_dxf') 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 -- cgit v1.2.3