Skip to content

Commit

Permalink
Fix Mantis #1500 for Draft Ellipse,Shape2DView
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan authored and yorikvanhavre committed Apr 15, 2014
1 parent c1978ec commit 79b8e07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Draft/Draft.py
Expand Up @@ -1075,6 +1075,7 @@ def makeEllipse(majradius,minradius,placement=None,face=True,support=None):
obj.ViewObject.DisplayMode = "Wireframe"
formatObject(obj)
select(obj)
FreeCAD.ActiveDocument.recompute()
return obj

def extrude(obj,vector):
Expand Down Expand Up @@ -2008,6 +2009,7 @@ def makeShape2DView(baseobj,projectionVector=None,facenumbers=[]):
if facenumbers:
obj.FaceNumbers = facenumbers
select(obj)
FreeCAD.ActiveDocument.recompute()
return obj

def makeSketch(objectslist,autoconstraints=False,addTo=None,delete=False,name="Sketch"):
Expand Down

0 comments on commit 79b8e07

Please sign in to comment.