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
This commit is contained in:
Philipp Oeser 2019-03-18 11:35:38 +01:00
parent ff29dc782b
commit 60c98c3324
Notes: blender-bot 2023-02-14 19:18:47 +01:00
Referenced by issue #62585, Addon - DXF Import Scales Circles Incorrectly
1 changed files with 1 additions and 1 deletions

View File

@ -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