Skip to content

Commit

Permalink
Draft: Fixed regular polygon default name
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Nov 18, 2013
1 parent fac75a0 commit 6b33631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/DraftTools.py
Expand Up @@ -1270,7 +1270,7 @@ def drawPolygon(self):
'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',
Expand Down

0 comments on commit 6b33631

Please sign in to comment.