[Draft] WireToBSpline Fix Placement of makeWire

See Discussion https://forum.freecadweb.org/viewtopic.php?f=23&t=43184
This commit is contained in:
Syres916
2020-02-28 10:41:21 +00:00
committed by Yorik van Havre
parent 27eb8bebeb
commit f043f465c2

View File

@@ -4489,7 +4489,8 @@ class WireToBSpline(Modifier):
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()