Skip to content

Commit

Permalink
Draft: fixed importSVG - fixes #1964
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Feb 12, 2015
1 parent c61a382 commit cd5783a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Mod/Draft/Draft.py
Expand Up @@ -1799,7 +1799,10 @@ def getPath(edges=[],wires=[],pathname=None):
if rot < -90:
rot += 180
#be carefull with the sweep flag
drawing_plane_normal = FreeCAD.DraftWorkingPlane.axis
if hasattr(FreeCAD,"DraftWorkingPlane"):
drawing_plane_normal = FreeCAD.DraftWorkingPlane.axis
else:
drawing_plane_normal = FreeCAD.Vector(0,0,1)
if plane: drawing_plane_normal = plane.axis
flag_large_arc = (((e.ParameterRange[1] - \
e.ParameterRange[0]) / math.pi) % 2) > 1
Expand Down

0 comments on commit cd5783a

Please sign in to comment.