Skip to content

Commit

Permalink
[Draft] WireToBSpline Fix Placement of makeWire
Browse files Browse the repository at this point in the history
  • Loading branch information
Syres916 authored and yorikvanhavre committed Mar 2, 2020
1 parent 27eb8be commit f043f46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Draft/DraftTools.py
Expand Up @@ -4489,7 +4489,8 @@ def Activated(self):
if (Draft.getType(self.obj) == 'Wire'):
n = Draft.makeBSpline(self.Points, self.closed, self.pl)
elif (Draft.getType(self.obj) == 'BSpline'):
n = Draft.makeWire(self.Points, self.closed, self.pl)
self.bs2wire = True
n = Draft.makeWire(self.Points, self.closed, self.pl, None, None, self.bs2wire)
if n:
Draft.formatObject(n,self.obj)
self.doc.recompute()
Expand Down

0 comments on commit f043f46

Please sign in to comment.