[Bf-extensions-cvs] [74393fe] master: Fix T41012: Error importing DXF.

Bastien Montagne noreply at git.blender.org
Thu Jul 10 12:39:05 CEST 2014


Commit: 74393fe915b5dadbe3066a149ef1d16575d5912e
Author: Bastien Montagne
Date:   Thu Jul 10 12:32:49 2014 +0200
https://developer.blender.org/rBA74393fe915b5dadbe3066a149ef1d16575d5912e

Fix T41012: Error importing DXF.

===================================================================

M	io_import_scene_dxf.py

===================================================================

diff --git a/io_import_scene_dxf.py b/io_import_scene_dxf.py
index fd02da5..abf4963 100644
--- a/io_import_scene_dxf.py
+++ b/io_import_scene_dxf.py
@@ -594,7 +594,7 @@ class CEllipse(CEntity):
         for n in range(theCircleRes):
             x = r*math.sin(n*w + phi0)
             y = f*r*math.cos(n*w + phi0)
-            v = (center.x - a*x + b*y, center.y - a*y - b*x, center.z)
+            v = Vector((center.x - a*x + b*y, center.y - a*y - b*x, center.z))
             points.append(v)
 
         pn = len(points)



More information about the Bf-extensions-cvs mailing list