Skip to content

Commit

Permalink
Draft: fixed small bug in bezier-to-svg code
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jan 19, 2014
1 parent cf1e4ec commit 4a8b5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/Draft.py
Expand Up @@ -1541,7 +1541,7 @@ def getPath(edges=[],wires=[]):
bspline=bspline.approximateBSpline(0.05,20, 3,'C0')
except RuntimeError:
print "Debug: unable to approximate bspline"
elif bspline.Degree <= 3 and not bspline.isRational():
if bspline.Degree <= 3 and not bspline.isRational():
for bezierseg in bspline.toBezier():
if bezierseg.Degree>3: #should not happen
raise AssertionError
Expand Down

0 comments on commit 4a8b5cc

Please sign in to comment.