Draft: small bugfix - fixes #2159
This commit is contained in:
parent
8c222a8c51
commit
192dca36c5
|
@ -2782,7 +2782,7 @@ class Trimex(Modifier):
|
||||||
dvec = self.point.sub(self.newpoint)
|
dvec = self.point.sub(self.newpoint)
|
||||||
if not shift: delta = DraftVecUtils.project(dvec,self.normal)
|
if not shift: delta = DraftVecUtils.project(dvec,self.normal)
|
||||||
else: delta = dvec
|
else: delta = dvec
|
||||||
if self.force:
|
if self.force and delta.Length:
|
||||||
ratio = self.force/delta.Length
|
ratio = self.force/delta.Length
|
||||||
delta.multiply(ratio)
|
delta.multiply(ratio)
|
||||||
if real: return delta
|
if real: return delta
|
||||||
|
|
Loading…
Reference in New Issue
Block a user