Draft: Fixed regular polygon default name

This commit is contained in:
Yorik van Havre
2013-11-18 11:11:40 -02:00
parent d91dd8c97d
commit f2eee76d31

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',