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:
Diffstat (limited to 'io_import_dxf/dxfimport/do.py')
-rw-r--r--io_import_dxf/dxfimport/do.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/io_import_dxf/dxfimport/do.py b/io_import_dxf/dxfimport/do.py
index 7fd3e262..487e4001 100644
--- a/io_import_dxf/dxfimport/do.py
+++ b/io_import_dxf/dxfimport/do.py
@@ -404,10 +404,10 @@ class Do:
r = r * en.radius
try:
- b[0].co = vc + r
- b[1].co = vc + r @ clockwise
- b[2].co = vc + r @ clockwise @ clockwise
- b[3].co = vc + r @ clockwise @ clockwise @ clockwise
+ b[0].co = self.proj(vc + r)
+ b[1].co = self.proj(vc + r @ clockwise)
+ b[2].co = self.proj(vc + r @ clockwise @ clockwise)
+ b[3].co = self.proj(vc + r @ clockwise @ clockwise @ clockwise)
except:
print("Circle center: ", vc, "radius: ", r)
raise