Draft: small bugfix - fixes #2159

This commit is contained in:
Yorik van Havre 2015-08-04 23:58:46 -03:00
parent 8c222a8c51
commit 192dca36c5

View File

@ -2782,7 +2782,7 @@ class Trimex(Modifier):
dvec = self.point.sub(self.newpoint)
if not shift: delta = DraftVecUtils.project(dvec,self.normal)
else: delta = dvec
if self.force:
if self.force and delta.Length:
ratio = self.force/delta.Length
delta.multiply(ratio)
if real: return delta