Skip to content

Commit

Permalink
Draft: added shoogens fix IRW test
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Mar 15, 2015
1 parent b007bd1 commit 0f7ef76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/Draft.py
Expand Up @@ -4187,7 +4187,7 @@ def onChanged(self, obj, prop):
pts[-1] = realfpend
obj.Points = pts
elif prop == "Length":
if obj.Shape:
if obj.Shape and not obj.Shape.isNull():
if obj.Length.Value != obj.Shape.Length:
if len(obj.Points) == 2:
v = obj.Points[-1].sub(obj.Points[0])
Expand Down

0 comments on commit 0f7ef76

Please sign in to comment.