fixed bug 562 - Draft module - problem in SVG import

This commit is contained in:
Yorik van Havre 2012-01-04 18:41:13 -02:00
parent 24ff289b65
commit b84a59f977

View File

@ -561,8 +561,8 @@ class svgHandler(xml.sax.ContentHandler):
pole2 = lastvec.add(Vector(point[2],-point[3],0))
else:
currentvec = Vector(point[4],-point[5],0)
pole1 = Vector(point[0],point[1],0)
pole2 = Vector(point[2],point[3],0)
pole1 = Vector(point[0],-point[1],0)
pole2 = Vector(point[2],-point[3],0)
if not fcvec.equals(currentvec,lastvec):
mainv = currentvec.sub(lastvec)
pole1v = lastvec.add(pole1)