+ fixes #0001617: typo in importCSG.py

This commit is contained in:
wmayer 2014-07-16 15:11:45 +02:00
parent f4d8b0ff54
commit 7120279ec0

View File

@ -986,7 +986,7 @@ def p_circle_action(p) :
else : else :
#mycircle = Draft.makePolygon(n,r) # would call doc.recompute #mycircle = Draft.makePolygon(n,r) # would call doc.recompute
mycircle = FreeCAD.ActiveDocument.addObject("Part::Part2DObjectPython",'polygon') mycircle = FreeCAD.ActiveDocument.addObject("Part::Part2DObjectPython",'polygon')
Draft._Polygon(mycricle) Draft._Polygon(mycircle)
mycircle.FacesNumber = n mycircle.FacesNumber = n
mycircle.Radius = r mycircle.Radius = r
mycircle.DrawMode = "inscribed" mycircle.DrawMode = "inscribed"