Path: Fix undefined method error in LeadInOut dressup

A regression from #9506 where `self.multiply` was removed but not all references to it were updated.

I'm not a Python guy but from what I can see the behaviour is the same - `offsetvector` is still an `App.Vector` which `self.multiply` used to use as well.

Tested with a project that previously didn't work, and now shows a nice `Arc`-type dressup in a circular pocket.
This commit is contained in:
James Waples
2023-07-15 11:14:55 +01:00
parent 525eacca39
commit 83ec49eb70

View File

@@ -282,7 +282,7 @@ class ObjectDressup:
t = p0.sub(leadstart)
t = p0.add(t)
leadstart = t
offsetvector = self.multiply(offsetvector, -1)
offsetvector = offsetvector.multiply(-1)
elif obj.StyleOn == "Tangent":
# This is wrong. please fix
leadstart = (p0.add(off_v)).sub(offsetvector)
@@ -290,7 +290,7 @@ class ObjectDressup:
t = p0.sub(leadstart)
t = p0.add(t)
leadstart = t
offsetvector = self.multiply(offsetvector, -1)
offsetvector = offsetvector.multiply(-1)
else: # perpendicular
leadstart = p0.add(off_v)