Skip to content

Commit

Permalink
Draft: small bugfix - fixes #2159
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Aug 5, 2015
1 parent 8c222a8 commit 192dca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/DraftTools.py
Expand Up @@ -2782,7 +2782,7 @@ def extrude(self,shift=False,real=False):
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
Expand Down

0 comments on commit 192dca3

Please sign in to comment.