Cubic BezCurve small fix

Fixed small things i forgot
This commit is contained in:
carlopav
2019-04-13 13:41:48 +02:00
committed by Yorik van Havre
parent dd56abe14b
commit 2d2e36b7bd

View File

@@ -1154,7 +1154,7 @@ class CubicBezCurve(Line):
FreeCADGui.addModule("Draft")
self.commit(translate("draft","Create BezCurve"),
['points = '+pts,
'bez = Draft.makeBezCurve(points,closed='+str(closed)+',support='+sup+')',
'bez = Draft.makeBezCurve(points,closed='+str(closed)+',support='+sup+',Degree='+str(self.degree)+')',
'Draft.autogroup(bez)',
'FreeCAD.ActiveDocument.recompute()'])
except: