Draft: Fixed regular polygon default name

This commit is contained in:
Yorik van Havre 2013-11-18 11:11:40 -02:00
parent fac75a0006
commit 6b33631705

View File

@ -1270,7 +1270,7 @@ class Polygon(Creator):
'pl=FreeCAD.Placement()',
'pl.Rotation.Q=' + rot,
'pl.Base=' + DraftVecUtils.toString(self.center),
'pol = FreeCAD.ActiveDocument.addObject("Part::RegularPolygon","Polygon")',
'pol = FreeCAD.ActiveDocument.addObject("Part::RegularPolygon","RegularPolygon")',
'pol.Polygon = ' + str(self.ui.numFaces.value()),
'pol.Circumradius = ' + str(self.rad),
'pol.Placement = pl',